-----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 redhat 5.1 with kde 1.0.

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. If you need you
Java apps to be centered, you have to implement that in your code. You can
never assume that your window will pop up centered, unless you do that yourself.

/ Peter Schuller

"Programming today is a race between software engineers striving
to build bigger and better idiot-proof programs, and the Universe
trying to produce bigger and better idiots.  So far, the Universe
is winning." -- Rich Cook

- ---
PGP userID: 0x5584BD98 or 'Peter Schuller <[EMAIL PROTECTED]>'
E-Mail: [EMAIL PROTECTED] Web: http://hem.passagen.se/petersch
Help create a free Java based operating system - www.jos.org.



-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
Charset: noconv

iQA/AwUBNzsC78BfJ1FVhL2YEQI0KACfVsrRz5foabdZVqd+XwgQOVqnI2QAn21n
YuYY5QHbjNL/5kpEoYLsxvMj
=ngv7
-----END PGP SIGNATURE-----


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to