4.3. A Java Swing Application Client
Our first client for the Music EJB is a stand-alone application with a Java Swing graphical user interface.
The Java Swing API is outside the scope of this text. For more information, consult Sun's Java web site at http://java.sun.com/.
This program includes Swing components to control screen layout with multiple panels. It reads the Music Collection database and places recording titles into a Swing JList component for viewing and selection by the user. The program also uses a JTextArea Swing component. When the user selects the “View Tracks” button, the textarea component shows additional ...