Posts

Showing posts with the label java gui

Fast & Dirty Java GUI building on 2017

Java Gui of Choice (2017) So first of all, yes, Javafx is still a thing. You want to build a gui for your Java application? You don't have many options, AWT, SWT and Swing are dead, JavaFX is the official way to go for a Java developer. Yes, you can have an HTML gui for your java application, and that is a perfectly valid choice, which should be accomplished by using Vaadin or Apache Wicket, but those options force you to deploy your gui with a web server which could be uncomfortable for many a developer. So JavaFX it is; Now, you can go around the web and learn how to use all of those plugins and wizards which will hide the simple mechanism of building a javafx gui or you can continue reading this post  :-) JavaFX Installation/Configuration The first thing you will want to do is to download JavaFX SceneBuilder, the SceneBuilder is Oracle's official app for creating nice FXML files using simple drag and drop techniques. Although Oracle has open sourc...

GUI in Java Revisited (2015)

Which GUI framework should I use for my Java application ? Brief History: AWT -> SWT -> Swing When I had to choose which IDE gives me the best Swing WYSIWYG builder Brief History: Eclipse crappy builder -> Netbeans Matisse -> Google's Windows Builder (donated to Eclipse) All of the above were my conclusions till 2014, but much had changed, HTML5 is rising with many many 3rd party frameworks Jquery MVC frameworks, JavaScript server side frameworks etc. In the Java scene, Oracle has introduced JavaFX several years ago but it wasn't built specifically for forms, and it had it's labor aches. Nowdays, JavaFX has matured much, Oracle has pushed Swing aside and introduced a very nice WYSIWYG form editor for JavaFX, and HTML5 isn't a myth but a very live framework. So what are my conclusions? Html5 sounds great, but I need some more straight forward out-of-the-box html5 with Java solution instead of a bunch of 3rd party J...