import java.awt.*; import javax.swing.*; import java.util.*; public class DVDGUI_Manual extends JFrame { public DVDGUI_Manual(String title) { super(title); // No Layout Manager setLayout(null); // Add the labels JLabel label1 = new JLabel("Title"); JLabel label2 = new JLabel("Year"); JLabel label3 = new JLabel("Length"); // INSERT CODE HERE // Add the lists String[] titles = {"Star Wars", "Java is cool", "Mary Poppins", "The Green Mile"}; JScrollPane tList = new JScrollPane(new JList(titles)); String[] years = {"1978", "2002", "1968", "1999"}; JScrollPane yList = new JScrollPane(new JList(years)); String[] lengths = {"124", "93", "126", "148"}; JScrollPane lList = new JScrollPane(new JList(lengths)); // INSERT CODE HERE // Add the buttons JButton button1 = new JButton("Add"); JButton button2 = new JButton("Delete"); JButton button3 = new JButton("Quit"); // INSERT CODE HERE setDefaultCloseOperation(EXIT_ON_CLOSE); setSize(345, 265); } public static void main(String args[]) { new DVDGUI_Manual("My DVD Collection").setVisible(true); } }