Compile time error: can’t find symbol Jlabel

Java is case-sensitive

Jlabel label3;
Jlabel label4;

Are both invalid. The class is JLabel (notice the L is capitalized)

Leave a Comment