Class IOErrorDialog

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

public class IOErrorDialog extends JDialog implements PortFailureReporterIfc
This class displays asynchronously-initiated error messages from the I/O back-end. The dialog is foregrounded (attached to the window currently in the foreground), but not modal (so as not to block operation of YAAC).
Author:
Andrew Pavlin, KA2DDO
See Also:
  • Method Details

    • setMessage

      public void setMessage(Object message)
      Description copied from interface: PortFailureReporterIfc
      Set the text message to be displayed in the error reporting object.
      Specified by:
      setMessage in interface PortFailureReporterIfc
      Parameters:
      message - String text to be displayed
    • dispose

      public void dispose()
      Releases all of the native screen resources used by this Window, its subcomponents, and all of its owned children. That is, the resources for these Components will be destroyed, any memory they consume will be returned to the OS, and they will be marked as undisplayable.

      The Window and its subcomponents can be made displayable again by rebuilding the native resources with a subsequent call to pack or show. The states of the recreated Window and its subcomponents will be identical to the states of these objects at the point where the Window was disposed (not accounting for additional modifications between those actions).

      Specified by:
      dispose in interface PortFailureReporterIfc
      Overrides:
      dispose in class Window