Attached a name to each button made

This commit is contained in:
Marcus Rockwell 2024-09-16 12:02:02 -04:00
parent cca503a6ec
commit 996ca3c882

View File

@ -467,6 +467,7 @@ public abstract class TrickApplication extends SingleFrameApplication implements
button.setVerticalTextPosition(JButton.BOTTOM);
button.setHorizontalTextPosition(JButton.CENTER);
button.setAction(getAction(actionName));
button.setName(actionName + "Button");
button.setFocusable(false);
if (!showText) {
button.setText(null);