1.The game implements new frames in between screens. I combine three menu frames. However, I have not combine the menu frame and gameFrame. Because the size of the menu and game frame are different. Shrinking the size of the game frame will affect the user playing experiences.
I delete the frame.setvisible(false) because they are in the same frame right now. They do not need to setVisible(false) and (true), which will cause flickering.
1.The game implements new frames in between screens. I combine three menu frames. However, I have not combine the menu frame and gameFrame. Because the size of the menu and game frame are different. Shrinking the size of the game frame will affect the user playing experiences.