So this is first post, I'm new to programming in general and am starting with java, using Jrasp as an IDE.
I was putting together code for my neice as a cool display of my skills lol when I ran into this error. I don't understand what the problem is?
import javax.swing.JOptionPane; public class whatthehell { public static void main (String[]args) { String name; name = JOptionPane.showInputDialog("Hey whats your name weirdo!! "); JOptionPane.showMessageDialogue(null, "hey hey hey" + name); System.exit(0); } }
The error message I receive is
whatthehell.java:17: error: cannot find symbol
JOptionPane.showMessageDialogue(null, "hey hey hey" + name);
^
symbol: method showMessageDialogue(<null>,String)
location: class JOptionPane
1 error
----jGRASP wedge2: exit code for process is 1.
----jGRASP: operation complete.