JGF: Adjusted the validation on the instantiation of a view object