Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: John Cooper   on Sep 28 In Java Category.

  
Question Answered By: Dannon Jones   on Sep 28

i don't know how to hide a close/minimize button in JFrame, but anyway u can
disable it in ur WindowListener method
use myFrame.setResizable(false);

otherwise use

JDialog jdlgTemp = new JDialog();
jdlgTemp.setResizable(false);
jdlgTemp.setDefaultCloseOperation(JDialog.DO_NOTHING_ON_CLOSE);
jdlgTemp.show();

Share: 

 

This Question has 6 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Struts Or get search suggestion and latest updates.


Tagged: