A java swing based calculator