(boolean s)
| 242 | } |
| 243 | |
| 244 | private void showCreateGame(boolean s) |
| 245 | { |
| 246 | final boolean show = s; |
| 247 | |
| 248 | SwingUtilities.invokeLater( |
| 249 | new Runnable() |
| 250 | { |
| 251 | public void run() |
| 252 | { |
| 253 | nameFieldCreate.setVisible(show); |
| 254 | portFieldCreate.setVisible(show); |
| 255 | yesButtonCreate.setVisible(show); |
| 256 | noButtonCreate.setVisible(show); |
| 257 | createVisible = show; |
| 258 | |
| 259 | for(int i=0; i<backgroundsCreate.length; i++) |
| 260 | { |
| 261 | backgroundsCreate[i].setVisible(show); |
| 262 | } |
| 263 | |
| 264 | portFieldCreate.setText(Constants.DEFAULT_PORT+""); |
| 265 | } |
| 266 | } |
| 267 | ); |
| 268 | } |
| 269 | |
| 270 | private void showJoinGlobal(boolean s) |
| 271 | { |
no outgoing calls
no test coverage detected