Re: Disable ESC on JOptionPane



Allan Valeriano wrote:
Eric Sosman <Eric.Sos...@xxxxxxx> wrote:
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?
I didn't want to sound like your 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 the
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.
If 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.

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
.



Relevant Pages

  • Re: Disable ESC on JOptionPane
    ... just trying to sound like my parents? ... Attempting to prevent yet another abominable GUI. ... ESC key or not is not up to me. ... project, but that's not my personal project, and I HAVE to do that. ...
    (comp.lang.java.programmer)
  • Re: My Fathers House
    ... In the poem it was made to sound like the memory of hurt was wanting ... memories and feel the way it felt so very long ago. ... there) is that these parents weren't that much out of the ordinary - ...
    (rec.arts.poems)
  • Re: Pat Methenys critcism of Kenny G, a defense of the G-Man
    ... biological parents and still be the same unique individual that you are. ... conceptual basis. ... in their heads away from any source of sound. ... A deaf composer simply ...
    (rec.music.makers.guitar.jazz)
  • Re: Frequency sounds from TVs
    ... My parents say they don't hear any sound coming ... sizes and colors.if you need something pleace visit our website find ... www.longtimetrade.com wholesale supply sell replica sport shoes casual ...
    (sci.electronics.repair)
  • Re: Pat Methenys critcism of Kenny G, a defense of the G-Man
    ... biological parents and still be the same unique individual that you are. ... I'm gonna take my deaf friend to see the ... in their heads away from any source of sound. ... A deaf composer simply writes ...
    (rec.music.makers.guitar.jazz)