Class JLabelAndComponentPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class JLabelAndComponentPanel
extends JPanel
This class implements a JPanel that lays out a set of JLabel and a JComponent next to each other.
Correct usage of this class is calling the empty constructor and adding label-component pairs via the corresponding 'add' method.
Do not call anything else unless you really want to break the functionality!
Author:
Lennart Martens
See Also:
Serialized Form
  • Constructor Details

    • JLabelAndComponentPanel

      public JLabelAndComponentPanel​(JLabel[] aLabels, JComponent[] aComponents)
      Constructor which allows the specification of the labels and components to lay out.
      Parameters:
      aLabels - JLabel[] with the labels.
      aComponents - JComponent[] with the components.