Is this a good way of creating the window or is there a different design I should try. I like breaking everything up for organization but that means that I need to create all the containers as static variables.
As far as everything having to be static, I would recommend rewriting your code to look like this:
Now that you have an object of the Snippet29 class, you can call its methods (which are the formerly static methods of the class) and use its variables (which are the formerly static variables).
machines help you to do more, but experience less. Experience this tiny ad: