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