Exemple #1
0
 public void paint(Graphics g) {
   panel1.repaint();
   panel2.repaint();
   g.drawRect(0, 0, getSize().width - 1, getSize().height - 1);
 }