• Post Reply Bookmark Topic Watch Topic
  • New Topic

JFrame close property  RSS feed

 
Rajesh Kumarv
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
how do i disable JFrame Close icon property.is there any direct method to do that please find out and reply me
Rajesh
 
Rajesh Kumarv
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
friends,
i have found answer myselves.it might be useful to others also so i wish to give solution it is by setting
JFrameObject.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE );
bye
rajesh
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!