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