Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to make a visually appealing GUI with JavaFX & Swing?

I would like to do a visually appealing / user-friendly GUI in java. Swing is a limited in terms of "skin" customization. I'm thinking about JavaFX, but I don't get it yet,

  • what can I achieve with this technology ?
  • how hard is it ?
  • do you have examples of real-life examples of Swing/JavaFX integration ?

I would like to do something in this spirit of this, which is built on the .NET framework: GUI example with .NET techno

original link: http://www.patrickpayet.com/net/?p=329 edit: is their any getting started overview sample code that I can read to get a general feeling of the work needed to be done to achieve something in the spirit of the screenshot? maybe something like the miglayout's swing demo http://www.migcalendar.com/miglayout/swingdemoapp.jnlp

edit2: I found http://download.java.net/general/openjfx/demos/tutorial.jnlp it's really basic though, linked from http://www.deitel.com/ResourceCenters/Programming/JavaFX/JavaFXTutorialsandDemos/tabid/2187/Default.aspx

like image 527
amirouche Avatar asked May 12 '10 09:05

amirouche


People also ask

Is JavaFX used for GUI?

JavaFX is a GUI toolkit for Java (GUI is short for Graphical User Interface). JavaFX makes it easier to create desktop applications and games in Java.

Is JavaFX better than Java Swing?

From a Java developer perspective, both technologies are highly useful in writing pluggable UI components. With its vast UI component library, Swing can provide added advantage to the developer, whereas when it comes to design modern and rich internet application, JavaFX can supersede Swing.

Is JavaFX still in use?

Is FX even still alive? From QFS' point of view, we can answer this question with a clear "yes": JavaFX is alive and well and has been in use via QF-Test/FX in multiple large projects since 2014.


1 Answers

Doing such a GUI with JavaFX seems to be rather easy.

For a rapid view on the JavaFX echosystem, I would suggest you to take a look at those sites, showing most of the bleeding edge JavaFX technologies :

  • Jonathan Giles blog on Swing/JavaFX/Griffon
  • Dean Iverson blog going more in details about JavaFX components
  • Amy Fowler blog
  • And finally, take a look at JavaFX home site samples.
like image 62
Riduidel Avatar answered Oct 20 '22 20:10

Riduidel