I'm pretty new to Java and I'm just starting to venture into the UI world of it. I've looked at what framework and tools to use. My goals are:
- Try to avoid implementing too much low level stuff through using an existing framework.
- Use portable libraries (I heard that not all libraries are made equal)
As for everything I do, I start with a lot of documentation and research and right now my choice is landing on javaFX and miglayout.
I develop with Linux Ubuntu (currently 13.04) but my user base will be a mix of windows and Ubuntu and maybe some MAC users.
I wanted to know from people with way more experience, their pain points while developing with javaFX2 and migLayout when it comes to portability to other OS.
I have found this thread: How portable is JavaFX 2? But the answer I'm looking for is not: it works in "X" but rather. To make it work in "X" and "Y". "a", "b" and "c" will have to be taken care of. handling "z" is hard because etc...
Thanks.
All you need is properly installed JDK, And with a little help from your preferred
IDEyou will get almost a complete portable working environment ).Using Netbeans will hide the complexity behind generating a runnable
jarfile, for serious project using a dependency manager will be a must , both Gradle and Maven have goodJavaFXplugin for build automation (by using Maven, you can clone myGithubrepository and start working immediately whatever theOSyou're running),for more aboutJavaFXandJava SEintegration see this answer from aOpenJDKcontributor.Miglayout has a
JavaFXplugin all you need is to addmiglayout-javafx.jarand themiglayout-core.jarto yourCLASSPATH, so there is no portability issues withMigLayout.MigLayoutis a real powerful layout manager (especially when it comes toSwing), but I prefer going the idiomatic way of buildingJavaFXuser interfaces (essentially, enterprise and data-driven applications) by using fxml and scenebuilder.more resources :