File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
Placing JButton in JTable
Joined: Jul 26, 2004
Nov 03, 2004 06:03:00
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 ]
Joined: Sep 29, 2004
Nov 03, 2004 07:53:00
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:
subject: Placing JButton in JTable
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015