Bookmark Topic Watch Topic
  • New Topic

Is there any function like setDefaultMinimizeOperation()

 
Arun Maalik
Ranch Hand
Posts: 216
  • Mark post as helpful
  • send pies
  • Report post to moderator
MyFrame =new JFrame("MyFrame");
MyFrame.setDefaultCloseOperation(frm.DO_NOTHING_ON_CLOSE);

Hey ranchar is there any function like above so that i can also implement such operation on minimisi or restore button like

MyFrame.setDefaultMinimizeOperation(MyFrame.DO_NOTHING_ON_MINIMIZE);//It is not working but i requre this types of operation.

Regard

Arun
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
  • Report post to moderator
This seems not to specific to SCJD. So I'm moving it over to our Swing forum.
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Report post to moderator
Closing another duplicate of this post.
 
    Bookmark Topic Watch Topic
  • New Topic