10.11 Key Points 10.23
37. JScrollPane jspane = new JScrollPane(jtable, vert, horz);
38. // Add scroll pane to the content pane
39. contentPane.add(jspane, BorderLayout.CENTER);
40. // Add scroll pane to the content pane
41. contentPane.add(jspane, BorderLayout.CENTER);
42. }}
10.11 Key Points
1. Graphical User Interface (GUI) development in JAVA is based on components. Java compo-
nents can further be divided into containers and widgets.
2. Containers are further classified as root containers and intermediate containers.
3. Containers also called as top-level containers are necessary for every GUI program. Exam-
ples are three top-level containers: JFrame, JDialog and JApplet.
4. Intermediate containers are not mandatory but are used widely ...