[Please Help] JCreator Error Failed to Find symbol
Hello, i am very new to JCreator and java in general... i am currently in a class, and our homework assignment was to write a simple program that would do some calculations... after confirming the code i had written in class (on paper) with my teacher i came home and attempted to put it into JCreator after receiving an error and failing multiple times to fix it i was looking for some help
Here's the code thus far (i removed much of it in an attempt to fix it and its currently like this)
Code:
import javax.swing.JOptionPane;
public class calculator {
public static void main(String[] args)
{
String value1 = JOptionPane.showInputDialogue("Enter value 1 here");
}
}
and this is the error i am getting
Code:
--------------------Configuration: <Default>--------------------
C:\Users\Matthew MacDonald\Documents\JCreator LE\MyProjects\calculator.java:5: cannot find symbol
symbol : method showInputDialogue(java.lang.String)
location: class javax.swing.JOptionPane
String value1 = JOptionPane.showInputDialogue("Enter value 1 here");
^
1 error
Process completed.
any help would be nice and sooner would be better because i have to email the finished code to my teacher tonight... anyways thanks for any posts