3/27/2023 0 Comments Java set icon for frameJFrame.DISPOSE_ON_CLOSE –“As the name suggests, it disposes the frame when someone clicks on the Close Button, but the application still remains on the running state.JFrame.HIDE_ON_CLOSE –” As the name suggests, it only hides the frame when someone clicks on the Close Button, but the application still remains on the running state.JFrame.DO_NOTHING_ON_CLOSE – “As the name suggests, it neglects the click, and nothing happens when someone clicks on the Close Button.We can choose any one of the given constants to determine the close Button’s nature when someone clicks on it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |