Exemplo n.º 1
0
 public void mouseEntered(MouseEvent e) {
   Color c = Tools.boost(BoardFrame.BOARD_COLOR, Globals.LABEL_VARIANT);
   this.label.setForeground(Tools.fade(c));
   // label.setToolTipText("Click to change board size.");
   label.setToolTipText(BoardFrame.messages.getString("boardSizeHover"));
   // boardSizeHover
 }
Exemplo n.º 2
0
 public void mouseExited(MouseEvent arg0) {
   Color color;
   color = Tools.boost(this.label.getForeground());
   this.label.setForeground(color);
 }