Skip to content

Commit

Permalink
DOF Command Tester
Browse files Browse the repository at this point in the history
  • Loading branch information
syd711 committed Sep 19, 2022
1 parent dbcb6c4 commit a2a61c9
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion resources/card-generator.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#Mon Sep 19 18:38:32 CEST 2022
#Mon Sep 19 18:40:46 CEST 2022
card.alphacomposite.black=28
card.alphacomposite.white=10
card.background=highscore-card-background-2.jpg
2 changes: 1 addition & 1 deletion resources/overlay-generator.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#Mon Sep 19 18:38:32 CEST 2022
#Mon Sep 19 18:40:46 CEST 2022
overlay.alphacomposite.black=36
overlay.alphacomposite.white=0
overlay.background=background4k.jpg
Original file line number Diff line number Diff line change
@@ -52,6 +52,7 @@ private void addButtons(JPanel toolBar) {
editButton = WidgetFactory.createButton(toolBar, "editRule", "Edit Rule", this);
deleteButton = WidgetFactory.createButton(toolBar, "deleteRule", "Delete Rule", this);
testButton = WidgetFactory.createButton(toolBar, "test", "DOF Command Test", this);

editButton.setEnabled(false);
deleteButton.setEnabled(false);
}
@@ -86,6 +87,8 @@ public void actionPerformed(ActionEvent e) {
if (delete == JOptionPane.YES_OPTION) {
service.removeDOFCommand(selection);
commandTableModel.fireTableDataChanged();
editButton.setEnabled(false);
deleteButton.setEnabled(false);
}
break;
}

0 comments on commit a2a61c9

Please sign in to comment.