public void propertyChange ( final PropertyChangeEvent evt )
{
approveButton.setPreferredSize ( null );
cancelButton.setPreferredSize ( null );
SwingUtils.equalizeComponentsSize ( approveButton, cancelButton );
buttonsPanel.revalidate ();
}
};
approveButton.addPropertyChangeListener ( AbstractButton.TEXT_CHANGED_PROPERTY, pcl );
cancelButton.addPropertyChangeListener ( AbstractButton.TEXT_CHANGED_PROPERTY, pcl );