Use JAVA swing to implement the calculator interface