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

Method setReadyButtonOn

src/Graphwar/PreGameScreen.java:484–514  ·  view source on GitHub ↗
(boolean on)

Source from the content-addressed store, hash-verified

482 }
483
484 public void setReadyButtonOn(boolean on)
485 {
486 if(on)
487 {
488 SwingUtilities.invokeLater(
489 new Runnable()
490 {
491 public void run()
492 {
493 readyOn.setVisible(true);
494 readyOff.setVisible(false);
495 revalidate();
496 }
497 }
498 );
499 }
500 else
501 {
502 SwingUtilities.invokeLater(
503 new Runnable()
504 {
505 public void run()
506 {
507 readyOn.setVisible(false);
508 readyOff.setVisible(true);
509 revalidate();
510 }
511 }
512 );
513 }
514 }
515
516 public void actionPerformed(ActionEvent arg0)
517 {

Callers 1

updateReadyButtonMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected