[762] in java-interest

home help back first fref pref prev next nref lref last post

Re: Native Tk

daemon@ATHENA.MIT.EDU (Kacper Nowicki)
Wed Jul 19 02:01:11 1995

Date: Tue, 18 Jul 1995 21:08:38 +0200 (MET DST)
From: Kacper Nowicki <Kacper.Nowicki@fuw.edu.pl>
To: Philip Brown <phil@bolthole.com>
Cc: Java <java-interest@java.Eng.Sun.COM>
In-Reply-To: <199507181842.LAA05723@shell1.best.com>



On Tue, 18 Jul 1995, Philip Brown wrote:

> > Hey, Tk is not another language it's just a library, set of graphic 
> > routines. We are not talking about Tcl interpreter - just Tk functions 
> > accessible as Java classes with native methods.
 
> the X window stuff is "just a library"....  but every time I hear a java
> develop;er talk about interfacing to it from user code, they don't sound too
> happy "-)

That's true :-)

But... Tk is designed in 'object way'.
There are classes of widgets (windows) like Text, Entry, Canvas, etc.
Class instances - objects can be configured (color, size and many 
more), packed, destroyed, etc. Widgets has their bindings and defaults.
They are manipulated by internal 'methods' rather then by external functions.

So, interfacing Tk will be easier then interfacing different libraries, I 
hope.

Kacper

--
Kacper Nowicki                         e-mail: Kacper.Nowicki@fuw.edu.pl
Warsaw University, Physics Dept.                      
Hoza 69, 00-681 Warszawa, Poland       fax:(48)(22)294309,(48)(2)6226154

-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post