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.

Information Source

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

Get Enterprise JavaBeans™ Component Architecture: Designing and Coding Enterprise Applications now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.