コード例 #1
0
 public void show(Shape s) {
   if (!shapes.contains(s)) {
     shapes.add(s);
   }
   repaint();
 }