Class XULTest
java.lang.Object
XULTest
public class XULTest
- extends java.lang.Object
This module tests window classes you generate from XUL files using
the XUL2Swing utility. To integrate a XUL window class, copy the two
java files that XUL2Swing generates into the source directory of
this Eclipse project, and then Refresh the project. Then you need
to change the names of the class references in this module to match
your window and listener classes. See lines 31 and 32. If your
window class uses menus, uncomment the wut.createMenus() call on
line 55.
Method Summary |
private static void |
createAndShowGUI()
Create a frame, use the window object to fill the
frame, and then show the frame. |
static void |
main(java.lang.String[] args)
Set up the log file and start the window-under-test |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
frm
private static javax.swing.JFrame frm
wut
private static Password wut
wls
private static PasswordListener wls
XULTest
public XULTest()
createAndShowGUI
private static void createAndShowGUI()
- Create a frame, use the window object to fill the
frame, and then show the frame.
main
public static void main(java.lang.String[] args)
- Set up the log file and start the window-under-test
- Parameters:
args
- arg1 = log level number (0...)