I have two input parameters - one for height, and width. I have editor, some fill-in and four buttons. I use run name_of_program("customer.txt", 200, 40) and then run it. Frame and Dialog-Frame make resize, but fill-ins and buttons don't resize with frame.