• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

Help on j2se5.0 X11 window placement

 
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Ranch Hand
Posts: 3061
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Proudly marching to the beat of a different kettle of fish... while reading this tiny ad
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic