I'm in the process of designing a Battleship-type game for the final project of my Java course. I have a couple fairly basic questions about Swing that I can't seem to find the answers to.
1) How would you go about preventing the user from resizing a window?
2) How would you go about removing a specific window from the screen?(eg. A button on Window A opens a new window, then Window A is removed from the screen.)
1) How would you go about preventing the user from resizing a window?
2) How would you go about removing a specific window from the screen?(eg. A button on Window A opens a new window, then Window A is removed from the screen.)