setText(a.getUnit());
}
}
public void propertyChange(PropertyChangeEvent evt) {
Property src = (Property) evt.getSource();
//System.out.println("PropertyChangeEvent " + src.getName());
if (model != null)
{
//System.out.println("getDisplayUnit " + model.getDisplayUnit());
if (src.getName().equalsIgnoreCase("unit"))
{
if(m_scalarListener != null) {
m_scalarListener.unitChange(model.getUnit());
}
setText(model.getUnit());