Example #1
0
 public Surface() {
   setBackground(BLACK);
   addMouseListener(
       new MouseAdapter() {
         public void mouseClicked(MouseEvent e) {
           if (thread == null) start();
           else stop();
         }
       });
 }
Example #2
0
 public WindingRule() {
   setBackground(WHITE);
 }
Example #3
0
 public Tree() {
   setBackground(WHITE);
 }