So far, I have not been able to do so. I see it in StoryServer, but have not even
been able to reproduce it under the Tcl shell yet. And the StoryServer template is
many thousands of lines, after processing INCLUDEs.
Mo DeJong wrote:
Could you create a small script and a .java file that
Hello Frank,
how can I access a public baseclass attribute in a Java class via Jacl,
when an object of derived class is instanciated ?
public class baseClass { public String dummyAttribute; }
public class derivedClass extends baseClass { /* anything */ }
set theDerivedObj [java::new
This problem may be related to Dr Wes Munsil's problem on "invalid command
name". Here is the problem script:
set x [java::new String foo]
after 1000 "$x toString"
unset x
update
You will get an error "invalid command name". Comparing that to the script
below:
set x
Below is the response that Mo sent me when I could not access fields that
were inherited from a base class. This will let you read/write fields from
a Base Class.
==
This sounds like a documentation problem. The HTML docs do indicate
that this is
On Fri, 23 Jun 2000, Frank Krahmer wrote:
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
...
I am encountering this problem right now in a different form. I am
constructing an asynchronous callback function inside Java using a TclList
object, {command_name java_obj_1 java_obj_2}. The list contains some Java
objects, which are the arguments to the callback function. However,
-Original Message-
From: Mo DeJong [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 23, 2000 3:15 PM
To: Jiang Wu
Cc: [EMAIL PROTECTED]
Subject: Re: [Tcl Java] A Tcl or TclBlend problem?
You mentioned that doing an after with a list object solved
the problem,
but here you are