//******************************************************************** // JukeBox.java Author: Lewis/Loftus // // Demonstrates the use of a combo box. //******************************************************************** import javax.swing.*; public class JukeBox { //----------------------------------------------------------------- // Creates and displays the controls for the juke box. //----------------------------------------------------------------- public static void main (String[] args) { JFrame frame = new JFrame ("Java Juke Box"); frame.setDefaultCloseOperation (JFrame.EXIT_ON_CLOSE); JukeBoxControls controlPanel = new JukeBoxControls(); frame.getContentPane().add(controlPanel); frame.pack(); frame.show(); } }