RE: position of java applications starting up.

1999-05-15 Thread Nelson Minar
>>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

RE: position of java applications starting up.

1999-05-14 Thread Ron Yorston
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

RE: position of java applications starting up.

1999-05-13 Thread Pete Wyckoff
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

RE: position of java applications starting up.

1999-05-13 Thread Peter Schuller
-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

Re: position of java applications starting up.

1999-05-13 Thread Michael Emmel
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

Re: position of java applications starting up.

1999-05-13 Thread Nelson Minar
>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

Re: position of java applications starting up.

1999-05-13 Thread Cãtãlin CLIMOV
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

position of java applications starting up.

1999-05-13 Thread 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 not to sure. I am running redhat 5.1 with kde 1.0. thanks, Justin.

Re: position of java applications starting up.

1999-05-13 Thread Jean-Pierre Dube
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

Re: position of java applications starting up.

1999-05-13 Thread alx
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