Win a copy of Rust Web Development this week in the Other Languages forum!
  • 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
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

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
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic