On Feb 6, 10:22 am, P <[EMAIL PROTECTED]> wrote: > Unfortunatly, I can't... :-( > > I'm using an early 1.6 release of Rhino embedded and can't switch to a > newer version. > > Will soon upgrade to the latest 1.6 release.
1.6R7 has the bugs I fixed, unfortunately. > > But the approach I took is the right one? I also tried without the > explicit JavaAdapter code (http://www.mozilla.org/rhino/ > scriptjava.html: var _x = new > Packages.javax.swing.plaf.basic.BasicTabbedPaneUI(myobject)) and that > didn't work either, but I guess it uses the same code underneat as the > code in which you fixed some stuff, right? Correct. > > Any thought on alternative approaches that might lead up to the same > rusult using older versions of Rhino? I don't see anything wrong in the approach you're using on the face of it. Your description of the behavior (code validates but isn't called) doesn't sound like any of the bugs I fixed. Sorry I can't tell more. > > On Feb 6, 3:14 pm, Norris Boyd <[EMAIL PROTECTED]> wrote: > > > On Feb 6, 5:16 am, [EMAIL PROTECTED] wrote: > > > > Some additional info: the code validates and executes without error, > > > but doesn't have the desired effect. If I execute the Java code > > > directly, I do get the desired effect > > > > K > > > Have you tried this with the latest release candidate? I fixed several > > JavaAdapter bugs. > > > --N _______________________________________________ dev-tech-js-engine-rhino mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino
