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

Method paintInvalidMessage

src/Graphwar/PreGameScreen.java:473–482  ·  view source on GitHub ↗
(Graphics g)

Source from the content-addressed store, hash-verified

471 }
472
473 private void paintInvalidMessage(Graphics g)
474 {
475 if(graphwar.getGlobalClient().isRoomInvalid())
476 {
477 g.setColor(Color.RED);
478 g.setFont(font);
479 g.drawString("This room can't be reached. Other players will not be able to join.", 5, 380);
480 g.drawString("Check if the port number you are using is properly forwarded.", 15, 400);
481 }
482 }
483
484 public void setReadyButtonOn(boolean on)
485 {

Callers 1

paintComponentMethod · 0.95

Calls 2

getGlobalClientMethod · 0.80
isRoomInvalidMethod · 0.45

Tested by

no test coverage detected