Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-28-2008, 03:30 PM
Member
 
Join Date: Jul 2008
Posts: 26
aneesahamedaa is on a distinguished road
Hyperlink in swing
Hi,
In the code
Code:
JPanel statusLabel = new JPanel(); statusLabel.setBounds(5,105,450,50); JLabel status = new JLabel("Your message has been sent successfully. Please send it to another contact."); statusLabel.add(status);
How can I add a hyperlink in
Code:
Please send it to another contact.
Also, I need to have a listener for that hyperlink so that I can call other constructors/methods from there.

Please help.
Regards,
Anees
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-28-2008, 05:41 PM
Norm's Avatar
Senior Member
 
Join Date: Jun 2008
Location: Heredia, Costa Rica
Posts: 2,225
Norm is on a distinguished road
I'm not sure what you mean by hyperlink in that context.
A hyperlink is used in HTML to refer to another page to be fetched by the browser if the user clicks it. Are there other usages?

Could explain somemore what your want to do?
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Hyperlink Mir New To Java 91 07-09-2008 01:37 PM
have to make the bookisbn column values as hyperlink to a page name bookinfo.jsp whi koushika New To Java 0 04-01-2008 06:14 PM
AWT or Swing bugger AWT / Swing 4 11-22-2007 11:44 AM
map javax.swing.text.Element to javax.swing.text.View elizabeth New To Java 1 07-30-2007 09:02 PM
Hide hyperlink address on status bar simon JavaServer Pages (JSP) and JSTL 2 07-24-2007 12:34 PM


All times are GMT +3. The time now is 12:23 PM.


VBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org