A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide
this week in the
Developer Certification (SCJD/OCMJD)
JButton in JTable
Joined: Oct 13, 2004
Dec 21, 2004 08:05:00
Does any of you know how I can put a clickable
? I succeed in adding the
as a CellRenderer in my
, but it doesn't seem to react to ActionEvents...
Sven Mari�n<br />SCJP, SCBCD, SCJD (in progress)
Joined: Feb 05, 2001
Dec 21, 2004 10:47:00
I think it is a good idea to try and figure out how to add a
to a Jtable as a way for you to learn. However, it isn't really necessary for you to do this for the assignment. So if you get frustrated and can't figure it out, don't feel bad.
Where do you add the ActionListener code?
Perfect World Programming, LLC
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: JButton in JTable
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015