hi..can you help me check my code? am just wondering why i have these certain errors.. ERRORS:cannot find symbol method showMessageDialog(<nulltype>,java.lang.String,int) and cannot find symbol method egualsIgnoreCase(java.lang.String)
this is my code;
import javax.swing.*; public class ManceraProject2{ public static void main(String[] args){ String prelimidterm[][]=new String[10][2]; String finalgrade[][]=new String[10][2]; String name[]=new String[10]; String wa="",pili,ngek; double gr[]=new double[10]; int x,x1,x2; String oc50="",oc61="",oc71="",oc81="",oc91=""; double average=0.0,addr=0.0;
You get a "cannot find symbol" message because the compiler doesn't recognize something you've typed. It's as if you instructed your friend to "fernt PL^%", to which s/he would likely reply, "Huh?". The compiler errors will tell exactly which symbols it does not recognize; correct these errors by properly defining variables, importing the correct classes, implementing the appropriate methods, using the appropriate constructors, etc.
In your case, it seems you are attempting to call a JOptionPane.showMessageDialog( that doesn't exist (check the way you call your method versus the available method signatures in the API), and trying to call an "egualsIgnoreCase()" method of String (note the simple typo of 'g' versus 'q').