Problem while closing JPopupMenu with the parent JFrame in maximized state
posted 3 years ago
I have JFrame and a button which opens a JPopupMenu on click event. This JPopupMenu has a JPanel with a button in it. This button is supposed to dispose the JPopupMenu. Which it does as long as the JFrame is not maximized. However when the JFrame is maximized, it closes the Jframe itself.
Any help or pointers towards solving this issue would be appreciated.
Quit crossposting. We don't appreciated spending time to answer a question only to find out you have the answer from somewhere else. You didn't even bother to reply here stating that you found the answer.