Re: Button at (x.y| in Applet ??!?
From: Silvio Bierman (sbierman_at_idfix.nl)
Date: 12/25/03
- Next message: Mike C.: "Re: Adding a non-standard Serial Port to Java?"
- Previous message: Herman Timmermans: "Re: Java on Web"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 25 Dec 2003 22:28:30 +0100
"Ivke" <jexi@sezampro.yu> wrote in message
news:bsfd1n$rhh$1@news.etf.bg.ac.yu...
> Hello,
>
> Does somebody know how to add Button at position (x,y) in Applet. I hope
it
> is
> possible to do in JAVA... Please help i really need it...
>
> Regars,
> Ivan.
>
>
Depends on what layoutmanager you are using. Simplest would be do do
setLayout(null) on the parent component. If you add a childcomponent and do
something like setBounds(x,y,w,h) on it that should work.
Silvio Bierman
- Next message: Mike C.: "Re: Adding a non-standard Serial Port to Java?"
- Previous message: Herman Timmermans: "Re: Java on Web"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]