aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Placing JButton in JTable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Placing JButton in JTable" Watch "Placing JButton in JTable" New topic
Author

Placing JButton in JTable

V
Greenhorn

Joined: Jul 26, 2004
Posts: 5
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

Joined: Sep 29, 2004
Posts: 113
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Placing JButton in JTable