Never confuse education with intelligence, you can have a PhD and still be an idiot.
- Richard Feynman -



File:Swing - JLabel.pdf

From Juneday education
Jump to: navigation, search
Swing_-_JLabel.pdf(file size: 188 KB, MIME type: application/pdf)

A small example using a textfield for entering a URL which transforms a JLabel to a clickable link which opens the users browser and points it to that URL.

  • JLabel
  • HTML for text components
  • Desktop class (in particular, the browse() method
  • MouseAdapter (to swift making of a MouseListener for mouseClicked() on the label)

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeDimensionsUserComment
current18:10, 1 January 2018 (188 KB)Rikard (Talk | contribs)A small example using a textfield for entering a URL which transforms a JLabel to a clickable link which opens the users browser and points it to that URL. * JLabel * HTML for text components * Desktop class (in particular, the browse() method * MouseA...
  • You cannot overwrite this file.

The following page links to this file: