Posts by Thomas • 1 point
1 post
-
0
votes2
answers386
viewsA: Error while trying to run a class
Missing the import of the class JOptionPane. As already said by Victor, you can import it with import javax.swing.JOptionPane; at the beginning of the code. But since in this case you’re only using…