java.lang.Object
com.vuze.plugins.mlab.tools.ndt.swingemu.Component
com.vuze.plugins.mlab.tools.ndt.swingemu.JFrame
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 Summary
FieldsConstructor Summary
Method Summary
All MethodsMethods inherited from class Component
add, add, add, addMouseListener, addWindowListener, getToolkit, pack, repaint, setBorder, setCursor, setEditable, setEnabled, setForeground, setLayout, setLayout, setPreferredSize, setResizable, setSize, setTitle, setVisibleModifier and TypeMethodDescriptionvoidStub, discards its arguments.voidStub, discards its arguments.voidStub, discards its arguments.voidStub, discards its arguments.voidStub, discards its arguments.Creates a stub toolkit; this AWT emulation has no real one.voidpack()Stub, does nothing.voidrepaint()Stub, does nothing.voidStub, discards its arguments.voidStub, discards its arguments.voidsetEditable(boolean b) Stub, discards its arguments.voidsetEnabled(boolean b) Stub, discards its arguments.voidStub, discards its arguments.voidStub, discards its arguments.voidStub, discards its arguments.voidStub, discards its arguments.voidsetResizable(boolean b) Stub, discards its arguments.voidsetSize(int i, int j) Stub, discards its arguments.voidStub, discards its arguments.voidsetVisible(boolean b) Stub, discards its arguments.
Field Details
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
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
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).