This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Placing JButton in JTable  RSS feed

 
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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!