You'll have to tell us which line is line 22, but look at that line and determine which variables have not been initialized and fix that.
Type: Posts; User: GregBrannon
You'll have to tell us which line is line 22, but look at that line and determine which variables have not been initialized and fix that.
Yes, we need to see the error, but there are other problems that should be corrected:
1 - A while(true) loop on the main thread (or any, for that matter) is not the way to stimulate a Swing app. ...