java.lang.Object
com.vuze.plugins.mlab.tools.ndt.swingemu.JOptionPane

public class JOptionPaneextends Object
Emulation of javax.swing.JOptionPane for the NDT (Network Diagnostic Tool) plugin.

This class provides a minimal stub implementation of standard dialog boxes to allow the NDT tool to run in headless environments. All dialog methods are no-ops that silently discard messages, maintaining API compatibility without requiring an actual graphical display system.

This allows the NDT tool to display informational messages without interrupting execution in server or headless environments.

  • Field Details

    • INFORMATION_MESSAGE

      public static final int INFORMATION_MESSAGE
      Option pane message type: an unadorned informational dialog.
      See Also:
  • Constructor Details

    • JOptionPane

      public JOptionPane()
      Constructor. The dialog methods below are all no-ops that discard their arguments, so an instance is only needed to sit behind a static call.
  • Method Details

    • showMessageDialog

      public static void showMessageDialog(Object wha, String str)
      Show a message dialog (no-op).
      Parameters:
      wha - the parent component the dialog would be centred on; unused
      str - the message text; unused
    • showMessageDialog

      public static void showMessageDialog(Object wha, String str1, String str2, int a)
      Show a message dialog with title and type (no-op).
      Parameters:
      wha - the parent component the dialog would be centred on; unused
      str1 - the message text; unused
      str2 - the dialog title; unused
      a - the message type, one of the constants declared here; unused