This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
How does inner class access outter class functions?
Siegfried Heintze
Ranch Hand
Joined: Aug 11, 2000
Posts: 359
posted
0
This program works in java. I was expecting it to work in groovy 1.7.8. The problem is line 9. How do call the add function in ButtonDemo initialization?
I could abandon the anonymous inner class and make it work. How can I keep the anonymous inner classes for the the JButton and call JPanel.add?
Thanks!
Siegfried