Running on Java 17+35-2724 (Preview)
Home of The JavaSpecialists' Newsletter

1.3 Swing User Interface (UI)

Juppies 2 by Dr Heinz M. Kabutz

We have a quick look at the Swing User Interface that was used to build our game. Swing was a revolutionary improvement to Java back in version 1.2. Prior to that, user interfaces were truly ugly and limited. But with Swing it was possible to build better looking rich client interfaces in Java. Nowadays most user interfaces are web-based, created with JavaScript. However, there are some Java applications that need a rich client interface. For example in military defence applications, where they need to quickly represent thousands of points of interest. Swing is still in use in 2021. There are two other UI frameworks - Eclipse RCP and JavaFX. Eclipse RCP provides a native interface to Java, making it attractive to companies that want to make software that has the exact same UI components as other programs on that platform. JavaFX is a more modern approach. It was started by Sun Microsystems / Oracle, but has now been spun off as a separate project. See openjfx.io.

Comments

When you load these comments, you'll be connected to Disqus. Privacy Statement.

Table of Contents

We hope you enjoyed this tutorial. If you did, you will also enjoy our courses. We suggest you start with Extreme Java - Advanced Java, followed by Extreme Java - Concurrency Performance for Java 8.



About the Author

Heinz Kabutz Java Conference Speaker

Java Champion, author of the Javaspecialists Newsletter, conference speaking regular... About Heinz

Superpack 21

Superpack 21 Our entire Java Specialists Training in one huge bundle more...

Free Java Course

Free Juppies 2 Course
Juppies 2 - a course for complete beginners more...

Free Java Book

Dynamic Proxies in Java Book
Java Training

We deliver relevant courses, by top Java developers to produce more resourceful and efficient programmers within their organisations.

Java Consulting

We can help make your Java application run faster and trouble-shoot concurrency and performance bugs...

Java Emergency?

If your system is down, we will review it for 15 minutes and give you our findings for just 1 € without any obligation.