Ask coding questions

← Back to all posts
cannot find symbol
LewisSun (1)

im not sure what is that, i'm learning, it work on teacher's example, but mine says cannot find symbol... teacher is not here but I need to finish...(im using mac)

mwilki7 (1137)

You will need a Java Swing repl project in order to see the GUI elements of this program.

You should be able to create Java Swing projects on repl. If you want to paste your code to a new Java Swing project it should work granted the code works the way you want.

Geocube101 (623)

Cannot find symbol means that Java has no idea what you're trying to reference
In this case, it cannot figure out what JOptionPane is