Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

inserting links into JTable

 
Ajit Amitav Das
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to insert some components into JTable columns so that onclick of that i can open another window having corresponding data regarding that grid, i have done that in JButton but its not looking good atall , so if anyone have any other suggetion please give the coding .i don't know wheather it is possible to give links in java swing components that to in componets that can a jtable hold , if i can give some link or something like that then it will look nice what i think, i am using in my project so need quick ,

i will be really thankful if anyone will help me anyway.

Regards
Ajit Amitav Das
[ May 19, 2006: Message edited by: Ernest Friedman-Hill ]
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Most questions are urgent - it's better to leave that out: EaseUp.

You could either use an underlined label or add HTML code within the label text. I think the syntax for that would be something like "new JLabel("<html><u>text</u>")".
 
They weren't very bright, but they were very, very big. Ad contrast:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!