Setting a frame
Hi,
I wonder if there is a way to make a frame or a window show up at a specific location on the screen. Is there a way to specify its sizes as well?
Thanks for your help and effort! Bulgan.
Bulgan
Re: Setting a frame
the methods for java.awt.Window apply the subclasses which include frames, so try these mthods
frameTemp.setSize(iWidth, iHeight);
and
frameTemp.setLocation(new Point(iX, iY));
I've never used ".setLocation(...)" before though
MikeD