pour qua?
When I try to call
myJDialog.setDefaultCloseOperation(JDialog.EXIT_ON_CLOSE);
I get
> Exception in thread "main" java.lang.IllegalArgumentException: defaultCloseOperation must be one of: DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE, or DISPOSE_ON_CLOSE
at javax.swing.JDialog.setDefaultCloseOperation(Unknown Source)
at tjacobs.app.Jar.main(Jar.java:160)
This has clearly changed since 1.5 as I have only just tried to recompile the class this is in and come across this error.
So can anyone tell me why they decided to take out the EXIT_ON_CLOSE from the dialog default actions? Do they not trust us to know when we should or shouldn't end our application? What was the motivation for this change?
Pour qua?!?!?!
I will award 1 duke $ to anyone with the answer to this question and 1 duke $ to anyone who will answer this question in French as well as correct my almost certainly mispelled "pour qua"

