This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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 Java 8 in Action this week in the Java 8 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: 39571
    
  27
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 - updated with new look and Ping home screen widget
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JOptionPane.showInputDialog and backspace key
 
Similar Threads
JOptionPane.showInputDialog and backspace key
[b]How to disable [BackSpace] key on Solaris ?[/b]
calling a jsp
Backspace key doesn't work when using JOptionPane.showInputDialog from an applet
How to track backspace key?