java.lang.Object
com.vuze.plugins.mlab.tools.ndt.swingemu.Component
com.vuze.plugins.mlab.tools.ndt.swingemu.JButton

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

This class provides a minimal stub implementation of a button component to allow the NDT tool to run in headless environments. The button can have an action listener but provides no actual click functionality.

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

  • Constructor Details

    • JButton

      public JButton(String name)
      Create a button that ignores its label, maintaining API compatibility.
      Parameters:
      name - button label, not stored
  • Method Details

    • addActionListener

      public void addActionListener(ActionListener l)
      Do nothing, as there is no display system to dispatch to.
      Parameters:
      l - action listener, not registered