Assuming var foo = new Packages.javax.swing.JSplitPane(); ... foo.setDividerLocation(300);
JSplitPane supports two methods for setDividerLocation(). One takes a double as a parameter and the other an int. e.g setDividerLocation(double) and setDividerLocation(int). The two methods do different things. I want to use setDividerLocation(int). How do I do this in JS/Rhino considering there is no Integer in JavaScript? Meaning how do I pass from JS an integer parameter to a Java method. Thanks in advance _______________________________________________ dev-tech-js-engine-rhino mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino
