# | Line 62 | Line 62 | public class SwingClient extends JFrame { | |
---|---|---|
62 | public void windowClosing(WindowEvent e) {System.exit(0);} | |
63 | }); | |
64 | ||
65 | – | |
66 | – | // build the frame |
65 | getContentPane().add(control, "North"); | |
66 | < | getContentPane().add(data, "Center"); |
66 | > | |
67 | > | JScrollPane scrollPane = new JScrollPane(data); |
68 | > | getContentPane().add(scrollPane, "Center"); |
69 | > | |
70 | ||
71 | JPanel bottom = new JPanel(); | |
72 | bottom.setLayout(new BorderLayout()); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |