Re: Execute Java in a new window

From: FISH (joeking_at_merseymail.com)
Date: 02/04/04


Date: 4 Feb 2004 04:01:34 -0800


"BlackHawke" <blackhawke@legacygames.net> wrote in message news:<tS0Ub.11456$F23.11058@newsread2.news.pas.earthlink.net>...
> Our program, game program Andromeda Online (www.andromedaonline.net) uses
> two programs- one to play the game, another to patch the game as updates
> come out. Players actually launch the updater which checks for fresh
> updates, then installs them, then launches the game client.
[snipped..]

This doesn't answer your question directly, as put, but it does provide
a solution: have you considered just opening an AWT window with a TextArea
set to fixed width font, then appending your stuff onto the end of the
TextArea. It is possible to redirect System.err - so write a simple
'TextAreaPrintStream' class with the same interface, which 'outputs' to
a given TextArea.

This solution:
(a) is easier to use (it's awkward cutting/pasting from a MS-DOS window).
(b) supports better platform neutrality (platforms without shells?)
(c) does not require an exec() call to fork off a new java executable,
    with all the associated issues that brings.

-FISH- ><>



Relevant Pages

  • Re: Execute Java in a new window
    ... game program Andromeda Online uses ... > updates, then installs them, then launches the game client. ... have you considered just opening an AWT window with a TextArea ...
    (comp.lang.java)
  • Re: A day without an update...
    ... start islands, a lot of expansion islands, and food, and an update ... Or would you rather play in a game were everybody was ... I prefer mediumly spaced island games, but without food. ... 30-40 updates, or approx 2.5 months. ...
    (rec.games.empire)
  • Re: Thoughts of an Empire Newbie
    ... but not something we can or should expect from> players. ... you write scripts to run on given updates. ... not lose the spirit of the game. ... Trust me I know easy is not a word associated with Empire, ...
    (rec.games.empire)
  • Euro 9 Update
    ... We have had our first 5 updates and it's time to give the viewers at ... What the players found ... After exploring, each player found he was blessed with 19 sectors, ... Drivers in this game are the limited number of production sectors, ...
    (rec.games.empire)
  • Re: Two Worlds - customer-oriented authentication and a special Xmas bonus
    ... mandatory on-line Steam updates. ... I _really_ wish every game had ... If a patch doesn't give any benefit to an offline player, ... HTTP://www.sushifaq.com/ The Sushi FAQ ...
    (comp.sys.ibm.pc.games.rpg)