java.lang.Object
com.vuze.plugins.mlab.tools.ndt.swingemu.Component
com.vuze.plugins.mlab.tools.ndt.swingemu.JFrame
Direct Known Subclasses:
JApplet, NewFrame

public class JFrameextends Component
Emulation of javax.swing.JFrame for the NDT (Network Diagnostic Tool) plugin.

This class provides a minimal stub implementation of a top-level window container to allow the NDT tool to run in headless environments. The frame contains a content pane but provides no actual GUI functionality.

All operations are no-ops, maintaining API compatibility without requiring an actual graphical display system.

  • Field Details

    • content_pane

      private Panel content_pane
      The panel returned as this frame's content pane.
  • Constructor Details

    • JFrame

      public JFrame()
      Creates an empty headless frame, with only an empty content pane attached.
    • JFrame

      public JFrame(String s)
      Creates a frame carrying the given title, which this headless stub never displays.
      Parameters:
      s - the title text this frame is constructed with, which this headless stub never displays
  • Method Details

    • getContentPane

      public Panel getContentPane()
      Return the content pane.
      Returns:
      the single Panel this frame reports as its content, allocated at construction and never replaced
    • toBack

      public void toBack()
      Send frame to back (no-op).
    • destroy

      public void destroy()
      Destroy the frame (no-op).
    • dispose

      public void dispose()
      Dispose the frame (no-op).