Cannot create method call in ClassConcept Follow
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?
Cheers,
Tom
PS: Happy New Year!
Attachment(s):
no-method-call.png
Please sign in to leave a comment.
Maybe I forgot to press after entering "frame"?
Tom
first you need to create variable reference:
type 'frame' + then press '.' (or just '.' + )
then choose the method
HAPPY NEW YEAR ! :-)