Remove those semicolons on lines 95 and 102
|
I fail at java.
Gui.java:99: 'else' without 'if'
else
^
1 error
Press any key to continue . . .
The red line is line 99.
Code:public final void keyPressed(KeyEvent paramKeyEvent) { int i = paramKeyEvent.getKeyCode(); KeyEvent localKeyEvent1 = paramKeyEvent; if (i == 17) { this.add[0] = true; } else { localKeyEvent2 = paramKeyEvent; if (i == 16); { this.add[1] = true; } else { localKeyEvent3 = paramKeyEvent; if (i == 18); this.add[2] = true; } }
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |