Re: [tcljava-dev] object instantiation failure
Brought to you by:
mdejong
|
From: Christian K. <chr...@so...> - 2001-05-10 07:41:59
|
Hello Vernon,
> I am new to tclblend, I am stuck while try to load my java class through
> tcl code.
Note, that questions like this better go to tcljava-user.
Without using your attachments :-), I would guess that you better should use
java::new instead of java::load, since you don't want to load an extension
but create a simple object. And you should specify an additional argument
(like "java::new MyClassName {Value Of Mandatory Argument}"), if your class
lacks of a parameterless constructor.
HTH, Krischan
--
Christian Krone, SQL Datenbanksysteme GmbH
|