calculator with out using swing stubbed out for jpf