Section 12.4 Overview of Swing Components

• Most Swing GUI components (p. 474) are located in package javax.swing.

• Together, the appearance and the way in which the user interacts with the application are known as that application’s look-and-feel. Swing GUI components allow you to specify a uniform look-and-feel for your application across all platforms or to use each platform’s custom look-and-feel.

• Lightweight Swing components are not tied to actual GUI components supported by the under lying platform on which an application executes.

• Several Swing components are heavyweight components (p. 480) that require direct interaction with the local windowing system (p. 480), which may restrict their appearance and functionality.

• Class Component ...

Get Java™ How To Program (Early Objects), Tenth 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.