Lesson 14. Developing Swing Applications

Designing a graphical user interface with Swing has a lot in common with creating a web page. Components are placed on the interface in a manner that makes them move around depending on the size of the space they’ve been given to occupy.

You could see this in the Swing interfaces created thus far by resizing the frame as they were running.

This fluidity is a necessary part of the Web because it’s presented on so many different devices, screen widths, and resolutions.

In Java, it helps ensure that a user interface will still display reasonably well and function properly on all the platforms where a Java Virtual Machine (JVM) has been installed.

This final lesson on Swing provides some additional features ...

Get Sams Teach Yourself Java in 21 Days (Covers Java 11/12), 8th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.