The past few times I got this error it was basically something I typed incorrectly that was causing the error. I have looked and looked at these two bits of code but I am unable to find what is wrong.
Error 1:
F:\ClassAverageAJP.java:19: cannot find symbol
symbol : method showMessageDialog(<nulltype>,java.lang.String,int)
location: class javax.swing.JOptionPane
JOptionPane.showMessageDialog(null, "This program will ask the names and test scores"
Error 2:
F:\ClassAverageAJP.java:50: cannot find symbol
symbol : method showMessageDialog(<nulltype>,java.lang.String,int)
location: class javax.swing.JOptionPane
JOptionPane.showMessageDialog(null, "Each student's average score has been calculated "
Any help is greatly appreciated.
Thanks.
Error 1:
F:\ClassAverageAJP.java:19: cannot find symbol
symbol : method showMessageDialog(<nulltype>,java.lang.String,int)
location: class javax.swing.JOptionPane
JOptionPane.showMessageDialog(null, "This program will ask the names and test scores"
Code:
JOptionPane.showMessageDialog(null, "This program will ask the names and test scores"
+ "of 5 students. \n It will then calculate the grade of each student. All of this"
+ "information \n will be placed in a file of your specification. Once all of the"
+ "grades have \n been entered, the program will calculate the class average and"
+ " place it in the file.", JOptionPane.INFORMATION_MESSAGE);
Error 2:
F:\ClassAverageAJP.java:50: cannot find symbol
symbol : method showMessageDialog(<nulltype>,java.lang.String,int)
location: class javax.swing.JOptionPane
JOptionPane.showMessageDialog(null, "Each student's average score has been calculated "
Code:
JOptionPane.showMessageDialog(null, "Each student's average score has been calculated "
+ "\nalong with their appropriate grade. The class average has also been calculated."
+ "\nThe results can be found in this file: " + outputFileName + ".txt",
JOptionPane.INFORMATION_MESSAGE);
Any help is greatly appreciated.
Thanks.

Best Answer
). Seems like there is always something I just can't find.