public void mouseExited(MouseEvent e) { if (e.getSource() == bottomText) { bottomText.setCursor(Cursor.getDefaultCursor()); } }