Hello Frank,

> how can I access a public attribute in a Java class via Jacl ?

for this you can use the java::field command.

Jacl-access example :
---------------------
set theTestClass [java::new testClass]
$theTestClass doDummy  "blabla"                   // no problem
java::field $theTestClass dummyAttribute "blabla" // no problem, too...

Hth, Krischan
-- 
Christian Krone, SQL Datenbanksysteme GmbH

----------------------------------------------------------------
The TclJava mailing list is sponsored by Scriptics Corporation.
To subscribe:    send mail to [EMAIL PROTECTED]  
                 with the word SUBSCRIBE as the subject.
To unsubscribe:  send mail to [EMAIL PROTECTED] 
                 with the word UNSUBSCRIBE as the subject.
To send to the list, send email to '[EMAIL PROTECTED]'. 
An archive is available at http://www.mail-archive.com/tcljava@scriptics.com

Reply via email to