public JHyperlink(){
  super();
  normalForeground=UIManager.getColor("Hyperlink.foreground");
  activeForeground=UIManager.getColor("Hyperlink.activeForeground");
  visitedForeground=UIManager.getColor("Hyperlink.visitedForeground");
  setBorderPainted(false);
  setContentAreaFilled(false);
  setForeground(normalForeground);
  setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR));
  setMargin(new Insets(0,0,0,0));
  setAction(defaultBrowseAction);
}

public JHyperlink ( ) { super ( ) ; normalForeground = UIManager . getColor ( "Hyperlink.foreground" ) ; activeForeground = UIManager . getColor ( "Hyperlink.activeForeground" ) ; visitedForeground = UIManager . getColor ( "Hyperlink.visitedForeground" ) ; setBorderPainted ( false ) ; setContentAreaFilled ( false ) ; setForeground ( normalForeground ) ; setCursor ( Cursor . getPredefinedCursor ( Cursor . HAND_CURSOR ) ) ; setMargin ( new Insets ( 0 , 0 , 0 , 0 ) ) ; setAction ( defaultBrowseAction ) ; }
creates a new instance of jhyperlink
