Commit d3cb794 1 parent 1ff8bf0 commit d3cb794 Copy full SHA for d3cb794
File tree 1 file changed +2
-0
lines changed
game-app/game-core/src/main/java/games/strategy/triplea/ui
1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,7 @@ private JPanel createCenterPanel() {
72
72
territoryInfo ,
73
73
gridBuilder .gridX (1 ).weightX (1 ).anchor (GridBagConstraintsAnchor .CENTER ).build ());
74
74
75
+ statusMessage .setVisible (false );
75
76
statusMessage .setPreferredSize (new Dimension (0 , 0 ));
76
77
statusMessage .setBorder (new EtchedBorder (EtchedBorder .RAISED ));
77
78
centerPanel .add (
@@ -99,6 +100,7 @@ private JPanel createStepPanel(boolean usingDiceServer) {
99
100
}
100
101
101
102
public void setStatus (final String msg , final Optional <Image > image ) {
103
+ statusMessage .setVisible (!msg .isEmpty ());
102
104
statusMessage .setText (msg );
103
105
104
106
if (!msg .isEmpty () && image .isPresent ()) {
You can’t perform that action at this time.
0 commit comments