On May 28, 1:44 pm, nition <[EMAIL PROTECTED]> wrote:
> Thank you for your reply, Norris. I've added another curly brace, and
> tested the code, but when serial information comes in the event is not
> triggered. I'm not getting any errors whatsoever, is there any way to
> debug this?
Well, the equivalent JavaScript works for a simple example:
js> var t = new java.lang.Thread(new java.lang.Runnable(
> { run: function () { print("running"); } }
> ));
js> t.run();
running
so I'd suspect the code that should be calling the event handler.
--N
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino