Reputation: 23
I have created an onsceen keyboard using JButtons. I was wondering if there is a way that I could display the text every time a button is pressed. I dont want the text overwritten when a different button is pressed. for example three buttons: 'A' 'B' 'C' when all buttons are pressed "ABC" is displayed in the textbox. i will then use the text in the text box and check to see if it matches a certain string. I have considered using setText(); but this would overwrite the text in the textbox when a new button is pressed. Thanks
Upvotes: 0
Views: 128