aspose file tools*
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
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: 104
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: 42612
    
  65
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