Is there any alternative of swing? I need a high performance GUI toolkit to create desktop application on linux (Ubuntu). I've been creating swing application for 2 years, therefore I want use java.
Asked
Active
Viewed 3.2k times
4
-
Java 8 + JavaFX. Still new, but active. Much better, effects, properties (=model of data with listeners). – Joop Eggen Jul 03 '14 at 12:06
-
3*"I've been creating swing application for 2 years, therefore I want use java."* - Not necessarily. You could have been hating Java the whole time :-) – Stephen C Jul 03 '14 at 12:21
4 Answers
9
Yes, there's a number of other UI toolkits available - AWT, SWT, JavaFX, QT to name a few.
I'd primarily recommend JavaFX as the new UI toolkit (it's now part of Java8 and is still under heavy development) or perhaps SWT if you want the "native" feel (since it uses native OS components.) QT does this as well of course, but it requires bindings and is generally more of a faff - so its use is relatively rare in Java land.
On the other sided of things, I'd recommend staying away from AWT (it's the old, original Java GUI framework that lacks many common components in other UI toolkits, and is not really supported any more.)

Michael Berry
- 70,193
- 21
- 157
- 216
6
-
-
2Here is the definition for JavaFx : "JavaFX is a software platform for creating and delivering rich internet applications (RIAs) that can run across a wide variety of devices. JavaFX is intended to replace Swing as the standard GUI library for Java SE, but both will be included for the foreseeable future" – Cyclops Jul 04 '14 at 04:33
-
I have seen this statement and to me it does not really make sense ... Oracle says that JavaFX is for "creating and delivering rich internet applications" and its a intended to replace Swing.. Well fair enough but swing was never designed to deliver rich internet applications ;) – Maciej Cygan Jul 04 '14 at 06:49
3
Take a look at JavaFX it's now part of the JRE/JDK for Java 8.
http://docs.oracle.com/javase/8/javase-clienttechnologies.htm

Andres
- 10,561
- 4
- 45
- 63