That worked.

Thanks,
Chris

-----Original Message-----
From: Mo DeJong [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 01, 2000 4:33 PM
To: Trella Christopher-P28453
Cc: '[EMAIL PROTECTED]'
Subject: Re: [Tcl Java] java::field problem


This sounds like a documentation problem. The HTML docs do indicate
that this is possible but there is no example of how to do it.

You should be able to get or set a shadowed value like this:

java::field $obj {FIELD BASECLASS}
java::field $obj {FIELD BASECLASS} NEWVALUE

I will have to add a short example to the docs about this problem.

Mo Dejong
Red Hat Inc.

On Tue, 1 Feb 2000, Trella Christopher-P28453 wrote:

> If I have a class that inherits from a base class, I cannot use the
> java::field command to get access to fields that are inherited from the
base
> class.  Why can't I look at fields that are inherited from the base class.
>  
> Chris Trella
> 480-675-1347
> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 

----------------------------------------------------------------
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