cannot find symbol
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)
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.