Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / GUI / February 2005

Tip: Looking for answers? Try searching our database.

Hyperlink in JTable

Thread view: 
vetri - 10 Feb 2005 05:11 GMT
Is it possible to put a data as a Hyperlink in JTable?
Andrew Thompson - 10 Feb 2005 11:14 GMT
> 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?

Signature

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

Andrew Thompson - 10 Feb 2005 12:16 GMT
> Any other takers?

See my response to the post "Look like a hyperlink,
behave like a button..." by Dag Sunde.

Signature

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

Kari Ikonen - 10 Feb 2005 21:29 GMT
> Is it possible to put a data as a Hyperlink in JTable?

It is easy and was asked rather recently here:

@see archives
http://coding.derkeiler.com/Archive/Java/comp.lang.java.gui/2005-01/0373.html


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.