setting size of elements
- From: Frances <fdr58@xxxxxxxxx>
- Date: Sat, 27 Aug 2005 08:46:59 -0400
setSiz() is ignored...
JButton btn = new JButton("OK");
public void init() {
getContentPane().add(btn);
btn.setSize(80,20);
}applet is width=200 height=100, and this is size button comes out.. if I put btn.setSize(80,20); _before_ getContentPane().add(btn); line it's also ignored... pls, how do you control size of elements? thank you..
.
- Follow-Ups:
- Re: setting size of elements
- From: Andrew Thompson
- Re: setting size of elements
- Prev by Date: Re: GUI Prototype erstellen
- Next by Date: Re: setting size of elements
- Previous by thread: GUI Prototyping
- Next by thread: Re: setting size of elements
- Index(es):