print
in Javascript) encountered in the scripts will be shown on the command-line. it is possible to specify a logger to log the result of these instructions on a Swing componentScriptManager manager = new DefaultScriptManager(); manager.validateXULSchema(true); manager.setParserErrorReporter(new SwingParserErrorReporter());
ScriptManager.LOADING_GLOBAL
. In this case if you reference the same script in two XUL files, it will be the same instance. It can be useful if you want to use a global context for all your XUL files.
org.scripthelper.swing.SwingExceptionListener.SwingExceptionListener
will show the StackTrace of the exception[1]
scriptHelperSwing.jar
in the classpath of your IDE to compile. You however don't need to put it on the classpath of your application, because scriptHelperSwing.jar
is referenced in javaXUL.jar
manifestScriptManager manager = new DefaultScriptManager(); manager.setScriptExceptionListener(new SwingExceptionListener());
org.scripthelper.swing.DefaultSwingScriptLogger
is a frame[1]
scriptHelperSwing.jar
in the classpath of your IDE to compile. You however don't need to put it on the classpath of your application, because scriptHelperSwing.jar
is referenced in javaXUL.jar
manifestorg.scripthelper.swing.DefaultSwingScriptLoggerArea
is a component which you can integrate in your application[1]
scriptHelperSwing.jar
in the classpath of your IDE to compile. You however don't need to put it on the classpath of your application, because scriptHelperSwing.jar
is referenced in javaXUL.jar
manifestCopyright 2008-2020 Herve Girod. All Rights Reserved. Documentation and source under the LGPL licence