• Post Reply Bookmark Topic Watch Topic
  • New Topic

How do i use hyperlinks in a JTable ?

Dave Turner
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a JTable in which one of the columns contains links to websites in each of its cells. Nothing appears to happen when i move the mouse over the link, or when i click on it.
Is it the case that i must use the standard mouselistener methods to capture the user clicking on the cell containing the hyperlink?
Or will a hyperlink event be created by clicking on this link, and if so, how do i attach a listener to capture these events?
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!