added displaying of degrees in java gui