jQuery in Action, 2nd edition*
The moose likes Swing / AWT / SWT and the fly likes JOptionPane.showInputDialog and backspace key Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JOptionPane.showInputDialog and backspace key" Watch "JOptionPane.showInputDialog and backspace key" New topic
Author

JOptionPane.showInputDialog and backspace key

Lanny Gilbert
Ranch Hand

Joined: Jun 11, 2002
Posts: 103
I am using the JOptionPane.showInputDialog() method to pop a window asking for input. However, the backspace key does not work within the pop-up window. I know that I need to somehow "rebind" the backspace key so that it will work, but am unsure how to do that.

Any ideas???
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41034
    
  43
That sounds like a general GUI issue, not an applet-specific one, so off to the GUI/AWT/SWT/Swing forum this thread goes.


Ping & DNS - my free Android networking tools app
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JOptionPane.showInputDialog and backspace key
 
Similar Threads
[b]How to disable [BackSpace] key on Solaris ?[/b]
calling a jsp
JOptionPane.showInputDialog and backspace key
Backspace key doesn't work when using JOptionPane.showInputDialog from an applet
How to track backspace key?