Class BusyDialog

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class BusyDialog extends JDialog
An indicator that the app is performing a long operation. Use instead of an hourglass, as Java 1.3's #setCursor methods are buggy. Make sure "images/Hourglass.gif" is on the classpath.
Version:
1.7
See Also:
  • Field Details

  • Constructor Details

    • BusyDialog

      public BusyDialog()
      Creates a BusyDialog
  • Method Details

    • setOwner

      public static void setOwner(Frame _owner)
      Sets the Frame for which the BusyDialog is displayed.
    • jbInit

      private void jbInit() throws Exception
      Throws:
      Exception
    • execute

      public void execute(String description, BusyDialog.Executable executable) throws Exception
      Runs the Executable and displays the BusyDialog.
      Throws:
      Exception
    • this_windowOpened

      void this_windowOpened(WindowEvent e)
    • setDescription

      public void setDescription(String description)
      Sets the String displayed in the BusyDialog. Can be safely called by the AWT event dispatching thread and threads other than the AWT event dispatching thread.
    • getStackTrace

      public String getStackTrace()