This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes accessing dynamically generated Jbuttons Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic

accessing dynamically generated Jbuttons

Carl John
Ranch Hand

Joined: Jun 14, 2010
Posts: 47

i'm generating jbuttons dynamically inside a jpanel. i want to write event for those buttons. Please guide me to do this..! Thanks in advance..

Paul Clapham

Joined: Oct 14, 2005
Posts: 19757

I see you cross-posted this in the forum where questions about Swing should go. That was the right place to post it. So I'm going to close this one.
I agree. Here's the link:
subject: accessing dynamically generated Jbuttons
It's not a secret anymore!