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
3 comments
Comment actions Permalink

Maybe I forgot to press after entering "frame"?

Tom

0
Comment actions Permalink

first you need to create variable reference:

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

then choose the method

0
Comment actions Permalink

HAPPY NEW YEAR ! :-)

0

Please sign in to leave a comment.