Computer Science Canada Swing GUI Problem |
Author: | SsJBebiGoku [ Tue Jan 04, 2005 5:12 pm ] | ||
Post subject: | Swing GUI Problem | ||
Hi, I am doing a sort of minesweeper game, and there's a menu to choose the difficulty (easy, medium, hard). Each difficulty has a larger play area and more mines. I am making it in a GridLayout. But I'm not sure how to make it so that it does make a whole new window when you choose a different difficulty. Here's the portion of the code that is called to make a new game/different difficulty:
Does anyone know how i make it either update the same window and i guess totally repaint it, or kill this window and start a new one? Thanks a lot. Martin was here |