(Graphics g)
| 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 | { |
no test coverage detected