(boolean s)
| 215 | } |
| 216 | |
| 217 | private void showJoinGame(boolean s) |
| 218 | { |
| 219 | final boolean show = s; |
| 220 | |
| 221 | SwingUtilities.invokeLater( |
| 222 | new Runnable() |
| 223 | { |
| 224 | public void run() |
| 225 | { |
| 226 | nameFieldJoin.setVisible(show); |
| 227 | portFieldJoin.setVisible(show); |
| 228 | ipFieldJoin.setVisible(show); |
| 229 | yesButtonJoin.setVisible(show); |
| 230 | noButtonJoin.setVisible(show); |
| 231 | joinVisible = show; |
| 232 | |
| 233 | for(int i=0; i<backgroundsJoin.length; i++) |
| 234 | { |
| 235 | backgroundsJoin[i].setVisible(show); |
| 236 | } |
| 237 | |
| 238 | portFieldJoin.setText(Constants.DEFAULT_PORT+""); |
| 239 | } |
| 240 | } |
| 241 | ); |
| 242 | } |
| 243 | |
| 244 | private void showCreateGame(boolean s) |
| 245 | { |
no outgoing calls
no test coverage detected