|
-
Jul 19th, 2005, 07:19 PM
#1
Thread Starter
Dazed Member
Index value of Component that fired an event?
What i need is a way to find out which JButton from a JButton[] fired off an event and depending on which JButton it was associate that button with an int.
I need to associate the JButtons with integers so i can use the ints as positions to add and remove Components from a Containter using remove(Component comp).
It would be easy if the Container class had a method that returned an index of which Component within it fired off an event.
Last edited by Dilenger4; Jul 26th, 2005 at 04:52 PM.
Reason: Resolved
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|