Some time ago i\'ve made a simple dialog. Everything looks fine, but i\'m meeting troubles after trying to close it. The error is
\"void is an invalid type for the variab
You have defined a method (buttonOK()) within another method (aboutApp()). This is not possible in Java. The compiler tries to make sense of this and supposes somhow that buttonOk is meant as a variable -- thus the misleading error message.