Re: swing console

From: Jan Gregor (gregor.jan_at_NOSPAMquick.cz)
Date: 03/05/05


Date: Sat, 5 Mar 2005 21:29:23 +0100

In article <xn0dzcvbu2wbkvb00c@news.verizon.net>, John McGrath wrote:
> On 3/4/2005 at 4:02:50 AM, Jan Gregor wrote:
>
>> I've got java console application (written in jython) that works under
>> linux and happily uses xterm and readline. Problem is that under windows
>> there's no equivalent. My idea is to emulate terminal with swing
>> library, good example seems to me matlab command window or autocad
>> command line.
>>
>> And because I don't want to "reinvent wheel" I'm looking for suitable
>> swing widget.
>
> It is not clear what you are asking for. First you mentioned a "console
> application", which generally means an application that reads from
> standard input and writes to standard output. But then you talk about a
> Swing widget, which is one that displays graphical windows. Would you
> please be more specific about what you are looking for?
>

Yes. I'm looking for os independent enviroment for such application. In
unix world you have readline library that gives you command history and
support for editing keys. Output is also important - one can need to use
for ex. unicode fonts. Swing has to deal with input and output also, and
os independent way. I can in future want to put this console in graphic
enviroment with things like menus, buttons, ... around it.

Jan


Loading