How to assign properties of BackSpace key to a Jbutton in java swing
I've created a JButton and a Jtextfield in java swing. I want the button to perform the same function as BackSpace key of the keyboard. Is there any means to assign the properties of the the BckSpace key to the button, i.e. inheriting the properties of the key.
Re: How to assign properties of BackSpace key to a Jbutton in java swing
You could easily manipulate the text in a JTextField to replicate that of the BackSpace key or you could take a look at the Robot Class - http://www.javaprogrammingforums.com...bot-class.html