public LinkLabel(String text){
  super(text);
  if (Desktop.isDesktopSupported()) {
    setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR));
    enableEvents(MouseEvent.MOUSE_EVENT_MASK);
  }
}

public LinkLabel ( String text ) { super ( text ) ; if ( Desktop . isDesktopSupported ( ) ) { setCursor ( Cursor . getPredefinedCursor ( Cursor . HAND_CURSOR ) ) ; enableEvents ( MouseEvent . MOUSE_EVENT_MASK ) ; } }
creates a new linklabel with the given text .
