Chapter 4. Labels and Icons

We’ll begin our look at the Swing components with the JLabel class. In addition, we’ll look at Swing’s Icon interface and an implementation of this interface called ImageIcon. With just these few constructs, you’ll begin to see how Swing aids in the sophisticated UI development in Java.

Get Java Swing, 2nd 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.