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