super(f, "Ruler", false);
super(f, Messages.getString("Ruler.title"), false);
   public Ruler(Frame f, Client c, BoardView1 b) {      super(f, "Ruler", false);      enableEvents(AWTEvent.WINDOW_EVENT_MASK);      start = null;      end = null;      flip = true;      startColor = color1;      endColor = color2;      bv = b;      client = c;      client.game.board.addBoardListener(this);      try {         jbInit();         add(panel1);         pack();      }      catch(Exception ex) {         ex.printStackTrace();      }   }