java sample calculator (netbeans)