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

Method refreshGlobalButton

src/Graphwar/GameScreen.java:263–283  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

261 }
262
263 public void refreshGlobalButton()
264 {
265 SwingUtilities.invokeLater(
266 new Runnable()
267 {
268 public void run()
269 {
270 if(graphwar.getGlobalClient().isRunning())
271 {
272 global.setVisible(true);
273 }
274 else
275 {
276 global.setVisible(false);
277 }
278
279 repaint();
280 }
281 }
282 );
283 }
284
285 public void paint(Graphics g)
286 {

Callers 3

joinGlobalServerMethod · 0.45
stopMethod · 0.45
disconnectMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected