Did you read the tutorial and try some of the things that were suggested?
What about the suggestion in the error message you posted?
One problem is trying to do too much in the main() method. ...
Type: Posts; User: Norm
Did you read the tutorial and try some of the things that were suggested?
What about the suggestion in the error message you posted?
One problem is trying to do too much in the main() method. ...
When posting errors, it helps if you also show the source line where that error happened.
Take a look at the tutorial about inner classes: Nested Classes (The Java™ Tutorials > Learning the Java...
Do you have a specific java programming question?
If you need help with the error, copy and paste it and the code that caused it.