예제 #1
0
 public void paint(Graphics g) {
   panel1.repaint();
   panel2.repaint();
   g.drawRect(0, 0, getSize().width - 1, getSize().height - 1);
 }
예제 #2
0
 private void set_values() {
   panel1.set_values();
   panel2.set_values();
 }