This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
I have a few inner classes in my main class and within one of those inner classes I have two more inner classes (for my actionlistener classes). Within one of those actionlistener classes I am creating an instance of a higher level inner class. Is this causing my program to freeze?
The deleteButton actionlistener works great UNTIL I call the editButton actionlistener. Once I have called the editButton listener my program no longer responds to the original button actionlistener or the deleteButton actionlistener.
I am wondering if that instance of the higher inner class is causing this??? I am also curious as to whether or not a call to an actionlistener stays open after the code within the actionlistener has been implemented.
Your current code doesn't compile for us and has a lot of extraneous code that is unrelated to your question. If you don't get a helpful answer soon, you'll likely increase your chances of help by creating a small compilable program that we can run and demonstrates your problem. People here will likely be grateful to you for limiting the code that they have to read through when trying to help you. Best of luck!
Edit: what Michael said above!
Joined: Jul 10, 2009
thanks for the suggestion. I'll work on making a smaller more concise version and putting that up :-)
subject: Need help understanding why my actionlistener is causing my program to freeze