public void onMouseExit(MouseEvent e) { if (highlight) selected = false; super.onMouseExit(e); }
public void onMouseOver(MouseEvent e) { if (highlight) selected = true; super.onMouseOver(e); }