Subj : Re: Calling already-constructed Java Classes in Rhino? To : Mathew McBride From : nboyd@atg.com (Norris Boyd) Date : Fri Apr 11 2003 07:41 pm How about var hit = new Packages.javax.swing.JButton("hit me") hit.setText("don't hit me") --N Mathew McBride wrote: > Hi, > > Is there any way I can call a Java class constructed in Java already > e.g: > > JButton hit = new JButton("hit me"); > > Then use this JavaScript code: > hit.setText("don't hit me"); > > Is there any way to do this? > > Thanks in advance > > > .