Re: Newbie needs HELP

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: Newbie needs HELP

Mike Cowlishaw-2
> can somenoe inform what is wrong with the flwg code, the
> compiler complains
> about the setConstaints method.

Bringing this down to minimum:

>   gbc = GridBagConstraints()
>   btn = JButton( "Button No.1" )
>   gbc.setConstraints( btn, gbc )

the compiler indicates that it is looking for a method which looks like:

  setConstraints(...awt, ...GridBagConstraints)

and there is no such method.  Hence you need to work out what method
you wanted to call and what arguments it needs.

mfc


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to
[hidden email]
with the following message in the body of the note
unsubscribe ibm-netrexx <e-mail address>