• Post Reply Bookmark Topic Watch Topic
  • New Topic

Help on j2se5.0 X11 window placement  RSS feed

 
Chris De Vries
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In response to bugs in window placement on X systems (see Bug 4102292), Sun added the property which if set to true will allow the window manager to handle window placement. This is great, especially for people like me who have their window managers set to allow them to place windows interactively. The problem is that I would like that property to be set to true for every java program I run, including programs I may be running through java web start. Is it possible to set that property globally without specifying it on the command line every time I use java?

Chris
[ April 21, 2005: Message edited by: Chris De Vries ]
 
Layne Lund
Ranch Hand
Posts: 3061
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One possibility is to set up an alias in your .bashrc file (or a similar file for other shells) that automagically adds the command-line arguments you wish to use. The line you need to add will look something like this:

HTH

Layne
[ April 22, 2005: Message edited by: Layne Lund ]
 
Chris De Vries
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Unfortunately this doesn't really help with web start. Is there a way to pass properties into javaws? It seems like the -userConfig command line options only work on deployment properties.

Chris
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!