Fixed addComponentsToPanel & size of window