You don't put classes in classes in classes, make independent classes and then make instances of those classes, compare you code to my last post.
Note: you don't need to make a class of everything, making a class of frame makes sense as you are altering the standard frame by adding attributes to it, if you are not altering a button or giving it attributes you can just make an instance of a standard button.
Note: you don't need to make a class of everything, making a class of frame makes sense as you are altering the standard frame by adding attributes to it, if you are not altering a button or giving it attributes you can just make an instance of a standard button.