My app has a JWindow that needs to be minimized when the custom minimizer button clicked. Please reply if anyone knows how to minimize a JWindow. I have searched a lot but couldn't find any suitable method to minimize. I know how to minimize a JFrame. So please don't bother answering regarding JFrame. Thanks.
How can I minimize/iconify a JWindow in Java?
1.4k Views Asked by Ahmadul Hoq At
2
Due to the fact that a JWindow is not decorated with any control icons, no
setState
method is provided. One workaround is to allow your custom minimizer button to set the window visible as required: