protected JPanel presetsPanel = new JPanel();
+ protected JLabel presetsComboLabel = new JLabel();
+
protected JButton revertButton = new JButton();
protected JComboBox<IntKeyStringValueEntry> backupfilesPresetsCombo = new JComboBox<>();
// "Scheme: "
gbc.gridx = 0;
gbc.gridy = 0;
- presetsPanel.add(new JLabel(title + ":"), gbc);
+
+ presetsComboLabel = new JLabel(title + ":");
+ presetsPanel.add(presetsComboLabel, gbc);
for (int i = 0; i < backupfilesPresetEntries.length; i++)
{
{
boolean enabled = enableBackupFiles.isSelected();
presetsPanel.setEnabled(enabled);
+ presetsComboLabel.setEnabled(enabled);
backupfilesPresetsCombo.setEnabled(enabled);
+ revertButton.setEnabled(enabled);
}
protected void backupsOptionsSetEnabled()