Am trying to make a JAVA GUI app, am using eclipse IDE but i keep getting this error =[jlable cannot be resolved to a type] | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

Am trying to make a JAVA GUI app, am using eclipse IDE but i keep getting this error =[jlable cannot be resolved to a type]

Am trying to make a JAVA GUI app, am using eclipse IDE, i have import javax.swing.*; and i have even tried to import java.awt.*; but everywhen i declare an object and initialize it to a constructor, i get an error that "(jlable cannot be resolved to a type)" WHAT AM I DOING WRONG? AND WHAT SHOULD I DO? HELP PLEASE!

14th Aug 2018, 6:27 AM
Mamuya, Gilbert .W
Mamuya, Gilbert .W - avatar
4 Answers
+ 1
It's JLabel, not JLable
14th Aug 2018, 6:35 AM
BlazingMagpie
BlazingMagpie - avatar
+ 3
yes, everywhen i try to make a lable and add it on my frame, i get that error just after declaring an object of JLable..
14th Aug 2018, 6:33 AM
Mamuya, Gilbert .W
Mamuya, Gilbert .W - avatar
+ 3
ill be damned!!
14th Aug 2018, 6:37 AM
Mamuya, Gilbert .W
Mamuya, Gilbert .W - avatar
+ 1
jlabel or jtable?
14th Aug 2018, 6:31 AM
BlazingMagpie
BlazingMagpie - avatar