Sample GUI: The SwingSet3 Demo Application
As an example of a GUI, consider Fig. 12.1, which shows the SwingSet3 demo application from the JDK demos and samples download at http://www.oracle.com/technetwork/java/javase/downloads/index.html
. This application is a nice way for you to browse through the various GUI components provided by Java’s Swing GUI APIs. Simply click a component name (e.g., JFrame
, JTabbedPane
, etc.) in the GUI Components area at the left of the window to see a demonstration of the GUI component in the right side of the window. The source code for each demo is shown in the text area at the bottom of the window. We’ve labeled a few of the GUI components in the application. At the top of the window is a title bar that contains ...
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.