|
If you change A good answer might be:The frame will be 300 pixels wide by 100 high, twice as wide as previous.
| |
Dimensions of a FrameA frame-object has a setSize method that is used to change the size of the frame on the monitor of the computer. The size can be changed as the program runs. For example, the following program will work (although it is still a mostly useless program):
| |
QUESTION 10:Can you define your own class that uses the Frame class as a base (parent) class? Click Here after you have answered the question |