harness.check(label.getHorizontalAlignment(), JLabel.LEADING);
label.addPropertyChangeListener(this);
label.setHorizontalAlignment(JLabel.RIGHT);
harness.check(label.getHorizontalAlignment(), JLabel.RIGHT);
harness.check(events.size(), 1);
PropertyChangeEvent e0 = (PropertyChangeEvent) events.get(0);
harness.check(e0.getSource(), label);
harness.check(e0.getPropertyName(), "horizontalAlignment");
harness.check(e0.getOldValue(), new Integer(JLabel.LEADING));
harness.check(e0.getNewValue(), new Integer(JLabel.RIGHT));
// try a bad value
boolean pass = false;
try
{