>>Take a look at MComponentPeer.pInitialize(). It sets the location of
>>the window (to 0,0 if no setLocation call has occurred).
>This bug annoys me intensely. bug id 4102292
It annoys me too. Thanks for finding it in the Bug Parade.
I can live with this, so my question here is more political
Nelson Minar wrote:
>But I have a related
>question - how do I *not* set the position of a window? I don't call
>any methods to set the position, yet my window manager thinks the
>window is demanding to be placed at 0,0. I'd rather let the window
>manager decide itself.
>
>Am I doing something wr
schuller says:
> A Java application is no different from any other application. If the
> application itself doesn't to a resize, then the window will be placed
> according to the window manager's window placement algorithm.
Take a look at MComponentPeer.pInitialize(). It sets the location of
the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
> i was wondering if it is possible to set the position of
> a java GUI once it starts up. Whenever i run a application
> it starts up in the corner of the screen.
>
> I presume it is a windows manager problem, but am not to sure.
>
> I am running r
Nelson Minar wrote:
> >i was wondering if it is possible to set the position of
> >a java GUI once it starts up. Whenever i run a application
> >it starts up in the corner of the screen.
>
> Like people said, setLocation() will do that. But I have a related
> question - how do I *not* set the pos
>i was wondering if it is possible to set the position of
>a java GUI once it starts up. Whenever i run a application
>it starts up in the corner of the screen.
Like people said, setLocation() will do that. But I have a related
question - how do I *not* set the position of a window? I don't call
Try:
.setLocation(x,y);
În J , 13 MAI 1999 a scris Justin Lawler:
>Hi,
>
>i was wondering if it is possible to set the position of
>a java GUI once it starts up. Whenever i run a application
>it starts up in the corner of the screen.
>
>I presume it is a windows manager problem, but am n
Hi,
i was wondering if it is possible to set the position of
a java GUI once it starts up. Whenever i run a application
it starts up in the corner of the screen.
I presume it is a windows manager problem, but am not to sure.
I am running redhat 5.1 with kde 1.0.
thanks,
Justin.
Hi,
Use the setLocation method on your main window.
--
/*
* Jean-Pierre Dubé
* Infocom enr.
* Developpement de logiciels
* Software development
*
*/
Justin Lawler wrote:
>
> Hi,
>
> i was wondering if it is possible to set the position of
> a java GUI on
Should be able to use Window.setLocation(x, y);
And ToolKit.getScreenSize() to get the size of your screen.
--Alex McCarrier
--Momentum Software, Inc.
On Thu, 13 May 1999, Justin Lawler wrote:
> Hi,
>
> i was wondering if it is possible to set the position of
> a java GUI once it starts up. W
10 matches
Mail list logo