How would you do it if the buttons had
labels (text?) and no icons?
Philip Joshua Gaje
Joined: Mar 19, 2012
if the button had a label, I often use event.getSource() to access that button. I just don't know what to use if both label and icon are not in the button, and specifically i only used a button with icon but without label.
the link is not working. e.getSource() returns the name of the member variable that caused the event(i'm pretty sure). i like it better with text on my button. i can then say e.getSource().getText(). or better yet i can use e.getActionComand()