From: Sells, F. <fr...@ad...> - 2002-01-28 18:28:17
|
Attached is an example of a jython file that I use to define a form and the corresponding source that jythonc generates. I am using this in an applet and can "exec()" the file after loading up its namespace as needed. I would like to generate the class files and jar them to improve speed and avoid downloading the parser and opening the security restrictions for applets. I know that my file does not really look like a python class file and therefore I may be generating some funky java. The reason the python looks the way it does is to hid the fact from the form designer that they are programming. this error is generated by any reference to AA() or to AA.main(...) I use this to build the jar: jythonc --jar mds20form.jar --all *.py Exception occurred during event dispatching: java.lang.NoSuchMethodError at mds20form.AA.main(AA.java:140) at formspec.PageRepository.getSection(PageRepository.java:83) at mdsapplet.ControlMDSSections.selectPage(ControlMDSSections.java:91) at mdsapplet.ControlMDSSections.processCommand(ControlMDSSections.java:49) at gui.Dispatcher.run(ezActionManager.java:28) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154) at java.awt.EventQueue.dispatchEvent(EventQueue.java:317) at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:103) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:84) |