I used ot be able to get the board to show (in ideaj) by right clicking the background and choosing run.
that option is no longer available.
is anyone able to help please?
can't seem to get the board to show up anymore to test.
Resolved
Comments (3)
- Popular
- New
- Old
You must be signed in to leave a comment
Guadalupe Gagnon
27 August 2020, 19:44
You can only right click and run on code that has a valid main method. Somewhere hidden in the Game class there is a valid method for this, so with the "Games" your class has to inherit game class to be able to be run. In the window on the left of the screen, the project outline, where the class has a little green "run" triangle, those are the valid classes where the option will be available (see pic):
P.S. also make sure your spelling isn't overly British
0
Russell
27 August 2020, 20:03
haha thanks!
0
Guadalupe Gagnon
27 August 2020, 20:14
I had the same problem ages ago when I was first learning Java. I was scratching my head because sometimes it was there and sometimes it was not. Took me a day or two to figure this out on my own.
0