 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
//scroll
capability
|
|
|
JScrollPane scrollPane = new
JScrollPane(numList);
|
|
scrollPane.setFont(f);
|
|
|
add(scrollPane, "West");
|
|
|
scrollPane.addKeyListener(this);
|
|
|
//button
panels
|
|
|
JPanel moreButs = new JPanel();
|
|
|
moreButs.setLayout(new
GridLayout(4, 2));
|
|
|
:
|
|
|
eastPanel.add(moreButs,
"West");
|
|
|
:
|
|
|
centerpanel = new JPanel();
|
|
|
centerpanel.setLayout(new
GridLayout(4, 4));
|
|
|
eastPanel.add(centerpanel,
"Center");
|
|
|
:
|
|
|
add(eastPanel,
("Center"));
|
|