A Simple Swing Calculator