202203204205206207208209
commentArea.setEnabled(Archiver.formatSupportsComment(formats[formatsComboBox.getSelectedIndex()])); lastFormatIndex = newFormatIndex; } // Transfer focus back to the text field pathField.requestFocus(); } }