• Post Reply Bookmark Topic Watch Topic
  • New Topic

Hyperliknks in swing  RSS feed

 
vinoth ramanathan
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,
I am developing an desktop application. I want to have Hyper link in my panel so that it directs the user to another frame/panel. Is it possible to do in swings.


vinoth
 
Miklos Szeles
Ranch Hand
Posts: 142
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Vinoth,

You can implement hyperlink in different ways using a JLabel or a JButton. Then you simply handle the click event and do whatever you want. There are implementation advices in this forum. Please search for them.
 
Campbell Ritchie
Sheriff
Posts: 53774
128
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And welcome to JavaRanch
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!