Extension SDK 10.1.2

oracle.ide.dialogs
Class WizardLauncher

java.lang.Object
  extended byoracle.ide.dialogs.WizardLauncher

public class WizardLauncher
extends java.lang.Object

Utility class for Launching a Bali Dialog. This class will set up any special changes to the IDE to launch the Dialog properly. Failure to use this class to launch a Bali Dialog can cause painting problems in the IDE when the Dialog is dismissed.


Constructor Summary
WizardLauncher()
           
 
Method Summary
static boolean runDialog(javax.swing.JDialog dlg)
          Use this instead of WizardDialog.runDialog() or JEWTDialog.runDialog.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WizardLauncher

public WizardLauncher()
Method Detail

runDialog

public static boolean runDialog(javax.swing.JDialog dlg)
Use this instead of WizardDialog.runDialog() or JEWTDialog.runDialog. This call will also call the dispose method on the JDialog subclass.

Parameters:
dlg - Instance of JEWTDialog or WizardDialog only. Passing any other subclass of JDialog will result in an IllegalArgumentException being thrown.
Throws:
java.lang.IllegalArgumentException - if the instance of JDialog is not a WizardDialog or a JEWTDialog.
See Also:
Dialog.dispose()

Extension SDK

 

Copyright © 1997, 2004, Oracle. All rights reserved.