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