This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JNLP and Web Start and the fly likes Position etc. of Webstart windows Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "Position etc. of Webstart windows" Watch "Position etc. of Webstart windows" New topic

Position etc. of Webstart windows

Teun de Lange

Joined: Feb 13, 2011
Posts: 2
The Webstart window opens always in the top left corner of the screen when I launch my application. Is there any way to change the position of the window etc. from JNLP and/or the Java App?
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 41054
I wouldn't think that WebStart differs from other Swing apps; try this code:

Ping & DNS - my free Android networking tools app
Teun de Lange

Joined: Feb 13, 2011
Posts: 2
Thanks for your quick reply, but the window doesn't react on swing or awt.
Paul Clapham

Joined: Oct 14, 2005
Posts: 18541

Perhaps you didn't write any code to call that method, then?
sourabh girdhar
Ranch Hand

Joined: Feb 10, 2010
Posts: 71

There could be another option to check out. If you application hard codes the size fo buttons etc and is maintained to work on maximized version.
Right click on desktop shortcut icon of you web start app and in properties say run in maximized mode. It could help you run application in max mode by default.

The significant problems we face cannot be solved by the same level of thinking that created them -- Albert Einstein

Don't get me started about those stupid light bulbs.
subject: Position etc. of Webstart windows
Similar Threads
Java self restart
Could not parse launch file. Error at line 0
standard output screen
How can I make my set up application?
Popup window position to remain constant even after backend call