import javax.swing.JPanel;
import javax.swing.JLabel;
public class JReceipt extends JPanel {
   public JReceipt(String subTotal,String tax,
	String total) {
        add(new JLabel(subTotal));
        add(new JLabel(tax));
        add(new JLabel(total));
   }
}