[ad_1]
If you are using swing, you can use frame.setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE); which prevents the window from closing.
[ad_2]
solved how to create a java program that can’t be closed on window and mac os
[ad_1]
If you are using swing, you can use frame.setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE); which prevents the window from closing.
[ad_2]
solved how to create a java program that can’t be closed on window and mac os