MCPcopy Create free account
hub / github.com/catabriga/graphwar / showShowMessage

Method showShowMessage

src/Graphwar/GameScreen.java:216–239  ·  view source on GitHub ↗
(boolean s)

Source from the content-addressed store, hash-verified

214 }
215
216 private void showShowMessage(boolean s)
217 {
218 final boolean show = s;
219
220 SwingUtilities.invokeLater(
221 new Runnable()
222 {
223 public void run()
224 {
225 okButton.setVisible(show);
226 messageLabel.setVisible(show);
227
228 for(int i=0; i<backgroundsShowMessage.length; i++)
229 {
230 backgroundsShowMessage[i].setVisible(show);
231 }
232
233 showMessageVisible = show;
234
235 repaint();
236 }
237 }
238 );
239 }
240
241 private void showQuit(boolean s)
242 {

Callers 3

GameScreenMethod · 0.95
showMessageMethod · 0.95
actionPerformedMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected