This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Customer Requirements for Developers and have Marcho Behler 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 Customer Requirements for Developers 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
Author

Position etc. of Webstart windows

Teun de Lange
Greenhorn

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
Rancher

Joined: Mar 22, 2005
Posts: 42956
    
  73
I wouldn't think that WebStart differs from other Swing apps; try this code:
Teun de Lange
Greenhorn

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

Joined: Oct 14, 2005
Posts: 19693
    
  10

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.


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

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Position etc. of Webstart windows
 
It's not a secret anymore!