• 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:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

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
 
permaculture is largely about replacing oil with people. And one tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic