On Wed, 16 Aug 2000, Hrishiraj Nair wrote:

> How do I get rid of the Terminal Emulator?

xterm?

> Usually when we have to run a Java program we go the Terminal Emulator
> and type in the name of the class file as in
> 
> $java xyz
> 
> where xyz.class contains my Byte Code to be executed. 
> 
> As The program is executing, in Java, it becomes a really serious eye
> sore to see the Terminal Emulator open all the time and the user can

The terminal does not disappear simply because you run a command in
it. That is true for all terminals I know of, including "dos prompt
windows".
(or are you telling me that you open a dos prompt, type java xyz in it and
 it then disappears? That you can make a .bat file run without a window
 is a different thing)

It sounds like you want to run 'java xyz' by clicking on some
icon/selecting something from a menu. How you do that depends on your
window manager and is completely non-java related (unless you have a java
based wm (wm = window manager, not vm ... :)). I suggest you look for help
in places where they discuss your particular window manager.


> also hit a CTRL-C to abort the code at any point they want to from the
> Terminal Emulator.

The user can type 'killall -KILL java' in another prompt and immediately
terminate all programs named java (given permission). Hiding ^C is not the
solution, handling (recovering from) the case when your program got
terminated in "mid-air" is.

/Urban


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to