Hi Corrado,

    I have an idea to makes a console system in Java.
Since System.out and System.in can't capture KeyEvent.
But in a Console System, it is very important. I would like to do it in this
system.

public class Console extends java.awt.Component;

It can send Key Event to Console and allow us to customize the screen
layout.
most important, if someone has written a Java application depends on it,
we can still write a implement on Linux, Win9X so that it can allows people
to run it Linux.

Regards,

Hilary


----- Original Message -----
From: Corrado Santoro <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 28, 1999 5:16 PM
Subject: [JOS-Kernel] Static members and process model.


>Hi all,
>I'm planning to work on a virtual console driver for JOS applicative
programs
>enhancing the current "console/consoled". My aim is to allow an applicative
>program to use the System.in and System.out streams to perform console
>operation.
>
>First of all, is there anyone that is currently working on this issue ?
>Secondly, I've found a problem on the "scope" of static members: System.in
and
>System.out are static members, i.e. single instances inside the SAME
virtual
>machine. This approach is valid for the "standard" use of Java upon a
operating
>system such as WinNT/9X or Unix/Linux: different Java processes are started
>inside different Java Virtual Machines, thus each process uses its own
>System.in and System.out streams. But in the JOS environment, there is a
SINGLE
>virtual machine thus, by analogy, there might be only ONE instance of
>System.in and System.out, shared among ALL threads (and thus all
appications) of
>the machine. This means that, basically, all threads are using the SAME
console.
>Obviously this is not possible and the streams System.in and System.out of
JOS
>must act as "wrappers", determining the current console of the current
thread
>and calling then the appropriate console driver. In this case, the
'java.lang.System'
>class provided by Sun can be no longer used, and it is necessary to
suitably
>rewrite this class for JOS.
>
>I'm studying this problem and when I have a solution, I will prepare a
>descriptive document. Meanwhile, do you have any suggestion ?
>
>Bye,
> Corrado.
>
>
>--
>======================================================
>Eng. Corrado Santoro - PhD Student
>
>Unversity of Catania - Engineering Faculty
>Institute of Computer Science and Telecommunications
>Viale A. Doria, 6 - 95125 CATANIA (ITALY)
>
>Tel: +39 095 7382365           Fax: +39 095 7382397
>
>EMail: [EMAIL PROTECTED]
>Personal Home Page:
>            http://www.cdc.unict.it/~csanto
>
>ARCA Mobile Agent Framework Home Page:
>            http://netra.cdc.unict.it/ARCA
>======================================================
>
>
>_______________________________________________
>Kernel maillist  -  [EMAIL PROTECTED]
>http://jos.org/mailman/listinfo/kernel
>
>


_______________________________________________
Kernel maillist  -  [EMAIL PROTECTED]
http://jos.org/mailman/listinfo/kernel

Reply via email to