Replace Yes/No text with Mulligan/Keep text on mulligan answer buttons to make options more clear.

This commit is contained in:
Quercitron 2016-07-31 15:57:45 +03:00
parent 94e59e5ee7
commit c04bd6d64a
5 changed files with 29 additions and 5 deletions

View file

@ -323,6 +323,13 @@ public class HelperPanel extends JPanel {
this.btnUndo.setVisible(enabled);
}
public void setLeft(String text, boolean visible) {
this.btnLeft.setVisible(visible);
if (!text.isEmpty()) {
this.btnLeft.setText(text);
}
}
public void setRight(String txtRight, boolean rightVisible) {
this.btnRight.setVisible(rightVisible);
if (!txtRight.isEmpty()) {