* Class under test for void processWindowEvent(WindowEvent)
*/
public void testProcessWindowEvent() {
TestDialog dialog = new TestDialog();
dialog.setVisible(true);
WindowEvent e = new WindowEvent(dialog, WindowEvent.WINDOW_CLOSING);
// test DO_NOTHING_ON_CLOSE
dialog.setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE);
dialog.disposeCalled = false;
dialog.processWindowEvent(e);
assertFalse("didn't call dispose()", dialog.disposeCalled);