import java.awt.*;

/** 
  * Bundles a label and a component reference together for use in 
  * LabelCompPanel objects.
  */
public class LabelCompPair {
	private Label l;
	private Component c;

	/**
	  * Contructs a pair using the references to existing Label l and
	  * existing Component c
	  */
	public LabelCompPair(Label l, Component c) {
		this.l = l;
		this.c = c;
	}

	/**
	  * Returns the reference to the Label object in this pair.
	  */
	public Label getLabel() {
		return l;
	}

	/**
	  * Returns the reference to the Component object in this pair.
	  */
	public Component getComp() {
		return c;
	}

}
