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

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

This class provides a minimal stub implementation of a text label component to allow the NDT tool to run in headless environments. The label can display text but provides no actual rendering functionality.

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

  • Constructor Details

    • JLabel

      public JLabel()
      Create an empty label, maintaining API compatibility.
    • JLabel

      public JLabel(String s)
      Create a label with the given text.
      Parameters:
      s - the label text
  • Method Details

    • setText

      public void setText(String s)
      Set the label text.
      Parameters:
      s - the text to set
    • setAlignmentY

      public void setAlignmentY(float f)
      Set the alignment Y value.
      Parameters:
      f - the alignment value