Class AnahataUpdateCenterDialog

java.lang.Object
uno.anahata.asi.nb.uc.AnahataUpdateCenterDialog

public final class AnahataUpdateCenterDialog extends Object
Top-level window frame controller for the Anahata ASI NetBeans Update Center.

Displays a dedicated, non-blocking JFrame hosting the AnahataUpdateCenterPanel. Automatically centers on the primary NetBeans IDE window and re-focuses if already open.

Author:
anahata
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static JFrame
    Singleton instance of the update center JFrame.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
    Private constructor to prevent direct instantiation.
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    Closes and disposes the update center dialog if currently open.
    static void
    Displays or brings to front the Anahata ASI Update Center JFrame window.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • frameInstance

      private static JFrame frameInstance
      Singleton instance of the update center JFrame.
  • Constructor Details

    • AnahataUpdateCenterDialog

      private AnahataUpdateCenterDialog()
      Private constructor to prevent direct instantiation.
  • Method Details

    • closeDialog

      public static void closeDialog()
      Closes and disposes the update center dialog if currently open.

      Ensures execution takes place on the Swing Event Dispatch Thread (EDT).

    • showDialog

      public static void showDialog()
      Displays or brings to front the Anahata ASI Update Center JFrame window.

      Ensures execution takes place on the Swing Event Dispatch Thread (EDT).