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.
            Asked
            
        
        
            Active
            
        
            Viewed 2,686 times
        
    1 Answers
8
            KeyPadPanel is an example that uses Action and Key Bindings for numeric entry.
        trashgod
        
- 203,806
 - 29
 - 246
 - 1,045
 
- 
                    More [here](http://stackoverflow.com/a/16081811/230513) on evaluating expressions. – trashgod Jun 12 '14 at 16:51