public void mouseClicked(MouseEvent e) { if (e.getSource() == bottomText) { try { getAppletContext().showDocument(new URL(linkURL), "_blank"); } catch (java.net.MalformedURLException ex) { } } else { maybeShowPopup(e); } }
public void mouseExited(MouseEvent e) { if (e.getSource() == bottomText) { bottomText.setCursor(Cursor.getDefaultCursor()); } }
public void mouseEntered(MouseEvent e) { if (e.getSource() == bottomText) { bottomText.setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR)); } }