Re: Hyperlink in JTable
From: Andrew Thompson (SeeMySites_at_www.invalid)
Date: 02/10/05
- Next message: Thomas Fritsch: "Re: Look like a hyperlink, behave like a button..."
- Previous message: igyy: "Re: Look like a hyperlink, behave like a button..."
- In reply to: vetri: "Hyperlink in JTable"
- Next in thread: Andrew Thompson: "Re: Hyperlink in JTable"
- Reply: Andrew Thompson: "Re: Hyperlink in JTable"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 10 Feb 2005 11:14:22 GMT
On 9 Feb 2005 21:11:45 -0800, vetri wrote:
> Is it possible to put a data as a Hyperlink in JTable?
Wow! You actually gave me more detail through the form on my site
than you did in these groups, for the benefit of everyone else..
"Hi is it possible to convert the data in a JTable into hyperlink?
Plz answer to this Question i'm converted the data in JTable into
hyperlink but how to go the url link when we click the data .
I tried it thru JEditorpane..but specify is there is any other way to do
this......"
Many. You can add a MouseListener to a Label to make it change
color of the label on MouseOver like a link, also change the cursor
at the same time. You can add an ActionListener and when clicked,
( open new browser here.. )
That is one possible way that I do not have time to investigate
(as opposed to describe in vague, sweeping terms).
Any other takers?
-- Andrew Thompson http://www.PhySci.org/codes/ Web & IT Help http://www.PhySci.org/ Open-source software suite http://www.1point1C.org/ Science & Technology http://www.LensEscapes.com/ Images that escape the mundane
- Next message: Thomas Fritsch: "Re: Look like a hyperlink, behave like a button..."
- Previous message: igyy: "Re: Look like a hyperlink, behave like a button..."
- In reply to: vetri: "Hyperlink in JTable"
- Next in thread: Andrew Thompson: "Re: Hyperlink in JTable"
- Reply: Andrew Thompson: "Re: Hyperlink in JTable"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|