Cannot create method call in ClassConcept

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
0
3 comments
Avatar
Permanently deleted user

Maybe I forgot to press after entering "frame"?

Tom

0

first you need to create variable reference:

type 'frame' + then press '.' (or just '.' + )

then choose the method

0

Please sign in to leave a comment.