Have you tried debugging your code to check the values of the variables that are used by adding printlns to show them as the code executes?
Type: Posts; User: Norm
Have you tried debugging your code to check the values of the variables that are used by adding printlns to show them as the code executes?
Have you tried debugging your code to check the values of the variables that are used by adding printlns to show them as the code executes?
You wouldn't unless you read the API doc. Did you do that and use Find for clientproperty?
The getSource method will return a reference to the button that was the source of the event.
You can use the JComponent class's ClientProperties to save data with any Swing component, like a custom...
Write a small test program with inner classes and see if the inner class can access outer class level variables and methods.
Make the action listeners inner classes and make the "nothing" class variables.