Results 1 to 4 of 4
  1. #1
    javanewbie is offline Member
    Join Date
    Jun 2008
    Location
    Australia
    Posts
    43
    Rep Power
    0

    Question Make specific cell a hyperlink (triggers event)

    Hello,

    Is it possible to make a specific cell (contains text) to be displayed as hyperlink.

    I just want my column[1], row[0] to be as hyperlink, while the rest are plain texts.


    Any suggestions?

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

  3. #3
    javanewbie is offline Member
    Join Date
    Jun 2008
    Location
    Australia
    Posts
    43
    Rep Power
    0

    Default

    I already made something out of MouseListener.

    Once clicked (the specific cell), it redirects already to a browser.

    I just want to know if how can I make the text (in the specific cell) looks like a hyperlink.

  4. #4
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

    Default

    Yes that's what I'm saying in the previous post. Just try to set the text in the cell using html tags.

    XML Code:
    <a href .....>

Similar Threads

  1. Colour Specific Cell within Table
    By poddy88 in forum New To Java
    Replies: 2
    Last Post: 04-14-2009, 08:20 AM
  2. threads waiting the same event :searching for a specific notification
    By nabila.abdessaied in forum Threads and Synchronization
    Replies: 2
    Last Post: 03-31-2009, 10:41 AM
  3. Event after comit the value in cell editor
    By Gajesh Tripathi in forum AWT / Swing
    Replies: 0
    Last Post: 10-16-2008, 07:48 AM
  4. Replies: 0
    Last Post: 04-01-2008, 04:14 PM
  5. Select specific cell
    By Echilon in forum New To Java
    Replies: 1
    Last Post: 01-01-2008, 07:47 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •