Example #1
0
 public void setUpGui() {
   m1 = new MyDrawPanel();
   f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
   f.setContentPane(m1);
   f.setBounds(30, 30, 300, 300);
   f.setVisible(true);
 } // quit meth
 public void guiErstellen() {
   ml = new MeinZeichenPanel();
   f.setContentPane(ml);
   f.setBounds(30, 30, 300, 300);
   f.setVisible(true);
 } // Methode guiErstellen schließen