I am writing a program that has multiple text area separated by tabs. It works fine, except that when I first compile it none of the components appear on the window; it is solid grey. When I resize the window, though, they appear and the program runs fine.
Any suggestions as to why this occurs and how to fix it?