previous | start | next

The model: 2

The RectangleComponent inherits the ability to display the rectangle from the JComponent class.

However, an application must still create the view by adding this RectangleComponent to a frame and making the frame visible.



previous | start | next