Please take a look at the attached image. After importing java.lang and
javax.swing, I wrote the first two lines, but somehow I can't write the
third one "frame.setVisible(true);": no matter, whether I type "frame." or
"frame.", it never accepts it as a method
call. Is there something obvious I'm doing wrong?
PS: Happy New Year!