This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma 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 Java Interview Guide this week in the Jobs Discussion 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: 42965
I wouldn't think that WebStart differs from other Swing apps; try this code:
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: 19973

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

I agree. Here's the link:
subject: Position etc. of Webstart windows
It's not a secret anymore!