Hey,
I am trying to either disable or override the close box in the top right corner of a JDialog. Pretty much, I don't want to give the user the ability to exit the form.
I have added a WindowListener and tried a couple of different things. And I have also tried setDefaultCloseOperation() with the different constants. Not much luck so far.
Any ideas?
Thanks
Matt
I am trying to either disable or override the close box in the top right corner of a JDialog. Pretty much, I don't want to give the user the ability to exit the form.
I have added a WindowListener and tried a couple of different things. And I have also tried setDefaultCloseOperation() with the different constants. Not much luck so far.
Any ideas?
Thanks
Matt