Calculator (using Swing and AWT) in Java