Re: Disable ESC on JOptionPane
- From: Thomas Fritsch <i.dont.like.spam@xxxxxxxxxxx>
- Date: Wed, 28 Feb 2007 12:30:39 GMT
Allan Valeriano wrote:
Eric Sosman <Eric.Sos...@xxxxxxx> wrote:I didn't want to sound like your parents.Two things to remember, though: First, you are expecting
this feedback to give you something of value, so you ought
to be willing to spend something, however little, to gain it.
Second, if you offer only tyranny the people will eventually
turn against you. Carrots, not sticks!
Does all of that means you guys don't know how to do that, or you're
just trying to sound like my parents?
Actually I don't know how to disable the ESC key (at least not in a JOptionPane). With some effort it might be possible in a JDialog.
The decision about disabling theIf I were you, I would tell your boss, that forcing the dialog to OK, is likely to make your users angry, hence generating a financial disadvantage in the long-term.
ESC key or not is not up to me. I wouldn't do that on a personal
project, but that's not my personal project, and I HAVE to do that.
By the way: Did you ever get Microsoft's famous bug-report-dialog (after an application-crash) asking you whether you want to send diagnostic material to Microsoft? I use to cancel that dialog simply for security reasons (because I don't know exactly which data would be sent).
But thanks anyway.
--
Thomas
.
- References:
- Disable ESC on JOptionPane
- From: Allan Valeriano
- Re: Disable ESC on JOptionPane
- From: Thomas Fritsch
- Re: Disable ESC on JOptionPane
- From: Allan Valeriano
- Re: Disable ESC on JOptionPane
- From: Eric Sosman
- Re: Disable ESC on JOptionPane
- From: Allan Valeriano
- Re: Disable ESC on JOptionPane
- From: Eric Sosman
- Re: Disable ESC on JOptionPane
- From: Allan Valeriano
- Disable ESC on JOptionPane
- Prev by Date: Re: method to access the name of the object that got created.
- Next by Date: Re: window of vulnerability
- Previous by thread: Re: Disable ESC on JOptionPane
- Next by thread: Re: Disable ESC on JOptionPane
- Index(es):
Relevant Pages
|