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

Method showCreateGame

src/Graphwar/MainMenuScreen.java:244–268  ·  view source on GitHub ↗
(boolean s)

Source from the content-addressed store, hash-verified

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 {

Callers 2

MainMenuScreenMethod · 0.95
actionPerformedMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected