Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Placing JButton in JTable

 
V
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to place a button in jtable and button should have ActionLisener.

I know that it can be done using TableCellRenderer..but ...,i am having some
problem in displaying...and when click that button...,it is disappearing...

any help with sample coding....???
[ November 03, 2004: Message edited by: V ]
 
jefff willis
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you considered using a boolean value instead. It would be a lot easier to implement and would still give you the "checked-unchecked" ability that the "button pressed-button not pressed" would give you.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic