I'm trying to code java using atom, how do I fix the below error? I would really appreciate some help. some links to other cute tutorials can help too.
it says
Testing.java:23: error: cannot find symbol label.setText = "Testing"; ^ symbol: variable setText location: variable label of type JLabel Testing.java:24: error: cannot find symbol frame.addComponents(label); ^ symbol: method addComponents(JLabel) location: variable frame of type JFrame Testing.java:32: error: cannot find symbol frame.setVisibility(true); ^ symbol: method setVisibility(boolean) location: variable frame of type JFrame 3 errors [Finished in 0.507s]
how do I fix this? here are the necessary lines of code
label.setText = "Testing"; (1st error line)
frame.addComponents(label); (2nd error line)
frame.setVisibility(true); (3rd error line)