Problem
1. Write a program that has a Draw button and a component in which a random mixture of rectangles, ellipses, and lines, with random positions, is displayed each time the Draw button is clicked.
2. Make a bar chart to plot the following data set. Label each bar. Provide a class Bar ChartViewer and a class Bar Chart Component.
Bridge Name
|
Longest Span (ft)
|
Golden Gate
|
4,200
|
Brooklyn
|
1,595
|
Delaware Memorial
|
2,150
|
Mackinac
|
3,800
|
3. Write a program that draws a clock face with a time that the user enters in two text fields (one for the hours, one for the minutes).