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

Method showJoinGame

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

Source from the content-addressed store, hash-verified

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 {

Callers 2

MainMenuScreenMethod · 0.95
actionPerformedMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected