Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How do i use hyperlinks in a JTable ?  RSS feed

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?
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!