mirror of
https://github.com/nasa/trick.git
synced 2025-04-05 10:26:47 +00:00
Attached a name to each button made
This commit is contained in:
parent
cca503a6ec
commit
996ca3c882
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user