Java GUI application for a numeric calculator