Added a method in Frame to allow size to be changed programatically even
when the frame is set non-resizable