What are some of the decisions you must make when extending a JFrame?
What will be an ideal response?
When you extend a JFrame to create a new custom class, you must remember to make decisions as to which attributes you want to set within the class and which you want to leave to the applications that will use the class. For example, you can place the setVisible() statement within the JFrame child class constructor (using either an explicit or implied this reference), or you can allow the application to use a setVisible() statement (using the name of an instantiated object followed by a dot and the method name). Either one works, but if you fail to do either, the frame will not be visible.
You might also like to view...
A(n) ________ line break moves text to a new line while remaining part of the preceding paragraph
Fill in the blank(s) with correct word
What's the difference between Normalize Max Peaks and Normalize All Peaks?
What will be an ideal response?