Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can we develop very good looking UI in swing and if not what are alternatives

Tags:

In my current project we have to develop a good looking desktop based application in java.

Currently, we have a very basic desktop application written in swing and team does not have good swing knowledge. Can we create a very good looking UI in swing?

Should we use JavaFX for creating the desktop application?

What are other alternatives to do this?

like image 353
Shekhar Avatar asked May 28 '10 06:05

Shekhar


People also ask

Is Swing good for GUI?

Java Swing is a more prominent GUI component which is part of the Oracles JFC – Java Foundation Classes API. This provides a more sophisticated Graphical interface option to the Java Programs.

Is Swing better than JavaFX?

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.


2 Answers

Swing is very flexible with regards to look-and-feel and you can certainly make very good looking applications with Swing.

I recommend the book Filthy Rich Clients by Chet Haase and Romain Guy if you want to learn how to make nice Swing GUI applications.

like image 129
Jesper Avatar answered Nov 04 '22 07:11

Jesper


You can make it look just about however you want. Especially if you write up your own look and feel. I've done it myself with semi-transparent panels and simplistic buttons.

Have a look at the screen shots at:

http://www.taranfx.com/best-java-swing-look-and-feel-themes-professional-casual-top-10

Nimbus is a new look and feel which is gaining popularity, and it looks very professional imo:

enter image description here

like image 42
aioobe Avatar answered Nov 04 '22 09:11

aioobe