Fixed a call to a deprecated method

This commit is contained in:
amontano 2003-09-07 03:39:08 +00:00
parent 0d6d6ed611
commit b489034598

View file

@ -71,12 +71,10 @@ class ConvertDialog extends JDialog
public void theRealActionPerformed(ActionEvent e) { public void theRealActionPerformed(ActionEvent e) {
ConvertDialog.this.theRealActionPerformed(e); ConvertDialog.this.theRealActionPerformed(e);
}}; }};
private void updateWarningLevels() { private void updateWarningLevels()
if (choices.getSelectedItem() == ACIP_TO_UNI_TEXT {
|| choices.getSelectedItem() == ACIP_TO_TMW) this.warningLevels.setEnabled(choices.getSelectedItem() == ACIP_TO_UNI_TEXT
this.warningLevels.enable(); || choices.getSelectedItem() == ACIP_TO_TMW);
else
this.warningLevels.disable();
} }
private void init() private void init()
{ {