Hi everybody,
I have a question. In java I have a class which has global variables. Also, in this class I have an actionPerformed method implemented, which is called every time some event happens. Now, in actionPerformed, I set these variables. Although inside actionPerformed their values do appear to change, after it is finished, the values go back to their old ones. Why is this happening? How do I get the values to stay? Please help..