Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any alternative of swing? [duplicate]

Tags:

java

swing

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.

like image 238
mystdeim Avatar asked Nov 30 '22 01:11

mystdeim


2 Answers

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.)

like image 140
Michael Berry Avatar answered Dec 05 '22 13:12

Michael Berry


Try Java FX. It will give you better performance than java Swing. Java FX

like image 37
Cyclops Avatar answered Dec 05 '22 14:12

Cyclops