• Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem while closing JPopupMenu with the parent JFrame in maximized state  RSS feed

 
Pratham Jain
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

(I am using netbeans to develop this.)






 
Rob Camick
Ranch Hand
Posts: 2788
12
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Crossposted: http://stackoverflow.com/questions/19344295/issue-while-closing-jpopupmenu-with-the-parent-jframe-in-maximized-state/19348382#19348382

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.
 
Rob Spoor
Sheriff
Posts: 21052
85
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In short: BeForthrightWhenCrossPostingToOtherSites.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!