DISPOSE_ON_CLOSE 和 EXIT_ON_CLOSE 的区别

If you have several JFrames open and you close one that has EXIT_ON_CLOSE it will close all the JFrames and exit the app. If you close one that has DISPOSE_ON_CLOSE only that one JFrame will be closed
相关文章
相关标签/搜索