March 2002
Intermediate to advanced
464 pages
8h 51m
English
Listing A.1 contains the source for MusicApp.java, the Java Swing application client presented in Chapter 4 (see “A Java Swing Application Client” on page 106). Also refer to Figure 4-3 on page 106 and Figure 4-4 on page 109 for screen shots captured during execution of this program.
// MusicApp.java // Swing application to read the Music Collection Database // using the Music EJB stateless session bean // Puts recording titles into a Swing JList component // so that user can select the title // Upon selection (ListSelectionEvent), // displays additional information about the recording // When user clicks "View Tracks" JButton (ActionEvent), // displays track list for the selected recording ... |
Read now
Unlock full access