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.