[Tcl Java] Re: traces

1999-05-11 Thread Moses DeJong
I just took a quick look at the problem you are having but I am wondering if it is actually a "feature" and not a bug. For instance, if I run the following code in tclsh and in jacl I get the same results (the upvared name is passed to the trace callback). proc tracecall { args } { puts "trace

[Tcl Java] Re: HOWTO example for TCL invoking Java, and Java invokingCallback TCL-procedure

1999-05-11 Thread Moses DeJong
Ok, this seems like a perfect time to add this as I am currently working on the 1.2.3 release. How about I take a pass as it and then post how I think it should work for additional comments? By the way, does anyone know what we should call this demo? How about something like javaEval? later mo

[Tcl Java] HOWTO example for TCL invoking Java, and Java invoking Callback TCL-procedure

1999-05-11 Thread Marcel Ruff
Hi, Attached you find 3 tiny files, showing howto invoking Java from TCL, and howto invoke a callback TCL procedure. I still dont understand everyting, but if you feel the examples are correct, it would be a good idea to add a link to the tclBlend1.2.2/docs/TclJava/contents.html docu, and

[Tcl Java] Re: Eventcallback from java to TCL

1999-05-11 Thread Marcel Ruff
Moses DeJong wrote: > On Mon, 10 May 1999, Marcel Ruff wrote: > > > Hi, > > > > I use a SWING GUI, invoked by a TCL script. > > It sounds like you might be doing this incorrectly. You need to place > and event into the Tcl event queue. If you just call interp.eval() it > will screw things up. > >