Dear Sir, how can I access a public baseclass attribute in a Java class via Jacl, when an object of derived class is instanciated ? Java-class example : -------------------- public class baseClass { public String dummyAttribute; } public class derivedClass extends baseClass { // anything } Jacl-access example : --------------------- set theDerivedObj [java::new derivedClass] java::field $theDerivedObj dummyAttribute "blabla" // RUNTIME ERROR // brings error tcl.lang.TclException: field "name" doesn't exist set theBaseObj [java::new baseClass] java::field $theBaseObj dummyAttribute "blabla" // OK When the object is of class baseClass, the attribute is accessible. When the object is of class derivedClass, the attribute is not accessible. Thanx Frank ---------------------------------------------------------------------- Frank Krahmer Email: [EMAIL PROTECTED] SBS MP 5 NM IP Tel.: 089/61453206 Fax.: 089/61209243 Telework-Adresse : Bahnhofstr. 13f, 82024 Taufkirchen Jobadresse : MCH-P 28-584, 81739 München, Otto-Hahn-Ring 6 ---------------------------------------------------------------------- ---------------------------------------------------------------- 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