Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Calculator application including keyboard input in java swing

I have a calculator application in java swing, which is working properly with mouse click input. Now I want it to read input using keyboard button stroke. I had heard about the glass pane in java tutorial, but i need to know any other simple method to meet the requirement.

like image 937
Jimshad Abdulla Avatar asked Feb 20 '23 20:02

Jimshad Abdulla


1 Answers

KeyPadPanel is an example that uses Action and Key Bindings for numeric entry.

like image 134
trashgod Avatar answered Feb 23 '23 09:02

trashgod