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

Method showShowMessage

src/Graphwar/GlobalScreen.java:206–229  ·  view source on GitHub ↗
(boolean s)

Source from the content-addressed store, hash-verified

204 }
205
206 private void showShowMessage(boolean s)
207 {
208 final boolean show = s;
209
210 SwingUtilities.invokeLater(
211 new Runnable()
212 {
213 public void run()
214 {
215 okButton.setVisible(show);
216 messageLabel.setVisible(show);
217
218 for(int i=0; i<backgroundsShowMessage.length; i++)
219 {
220 backgroundsShowMessage[i].setVisible(show);
221 }
222
223 showMessageVisible = show;
224
225 repaint();
226 }
227 }
228 );
229 }
230
231 public void showMessage(String message)
232 {

Callers 3

GlobalScreenMethod · 0.95
showDisconnectMessageMethod · 0.95
actionPerformedMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected