Fixed a call to a deprecated method
This commit is contained in:
parent
0d6d6ed611
commit
b489034598
1 changed files with 4 additions and 6 deletions
|
@ -71,12 +71,10 @@ class ConvertDialog extends JDialog
|
|||
public void theRealActionPerformed(ActionEvent e) {
|
||||
ConvertDialog.this.theRealActionPerformed(e);
|
||||
}};
|
||||
private void updateWarningLevels() {
|
||||
if (choices.getSelectedItem() == ACIP_TO_UNI_TEXT
|
||||
|| choices.getSelectedItem() == ACIP_TO_TMW)
|
||||
this.warningLevels.enable();
|
||||
else
|
||||
this.warningLevels.disable();
|
||||
private void updateWarningLevels()
|
||||
{
|
||||
this.warningLevels.setEnabled(choices.getSelectedItem() == ACIP_TO_UNI_TEXT
|
||||
|| choices.getSelectedItem() == ACIP_TO_TMW);
|
||||
}
|
||||
private void init()
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue