Runtime.exec()

Discussion in 'Java' started by Coder, Apr 11, 2004.

  1. Coder

    Coder Guest

    Hi,

    I can successfully execute a program using runtime.exec(), but does
    anyone know how to specify the window state that the program should
    run in (i.e. make it run maximized, minimized, etc?) i'm looking for
    the appropriate command line switches

    any help would be greatly appreciated,
    thanks.
     
    Coder, Apr 11, 2004
    #1
    1. Advertising

  2. Coder wrote:
    > Hi,
    >
    > I can successfully execute a program using runtime.exec(), but does
    > anyone know how to specify the window state that the program should
    > run in (i.e. make it run maximized, minimized, etc?) i'm looking for
    > the appropriate command line switches
    >
    > any help would be greatly appreciated,
    > thanks.


    I think you probably need to consult the documentation for the
    executable that you are launching. Frinstance, gnome-terminal
    has a --geometry=... option.

    Steve
     
    Steve Horsley, Apr 11, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Hal Vaughan
    Replies:
    11
    Views:
    1,122
    Gordon Beaton
    May 22, 2006
  2. tedsuzman
    Replies:
    2
    Views:
    7,094
    Michel Claveau, résurectionné d'outre-bombe inform
    Jul 21, 2004
  3. Ted
    Replies:
    1
    Views:
    470
    Duncan Booth
    Jul 22, 2004
  4. Guillermo Riojas
    Replies:
    0
    Views:
    172
    Guillermo Riojas
    Nov 26, 2010
  5. Random Task
    Replies:
    12
    Views:
    653
    Joe Smith
    Dec 4, 2005
Loading...

Share This Page