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 }
public void mouseExited(MouseEvent arg0) { Color color; color = Tools.boost(this.label.getForeground()); this.label.setForeground(color); }