Re: Execute Java in a new window
From: FISH (joeking_at_merseymail.com)
Date: 02/04/04
- Next message: Québec: "java.home=C:\PROGRA~1\j2sdk_nb\j2sdk1.4.2\jre ????"
- Previous message: Andrew Thompson: "Re: Applet cookie problem"
- In reply to: BlackHawke: "Execute Java in a new window"
- Next in thread: nos: "Re: Execute Java in a new window"
- Reply: nos: "Re: Execute Java in a new window"
- Reply: BlackHawke: "Re: Execute Java in a new window"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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- ><>
- Next message: Québec: "java.home=C:\PROGRA~1\j2sdk_nb\j2sdk1.4.2\jre ????"
- Previous message: Andrew Thompson: "Re: Applet cookie problem"
- In reply to: BlackHawke: "Execute Java in a new window"
- Next in thread: nos: "Re: Execute Java in a new window"
- Reply: nos: "Re: Execute Java in a new window"
- Reply: BlackHawke: "Re: Execute Java in a new window"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|