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