Java Reference
In-Depth Information
PP 10.6 Design and implement a program that graphically displays the
processing of a selection sort. Use bars of various heights to rep-
resent the values being sorted. Display the set of bars after each
swap. Put a delay in the processing of the sort to give the human
observer a chance to see how the order of the values changes.
PP 10.7 Repeat PP 10.6 using an insertion sort.
PP 10.8 Design and implement a program that combines the functionality
of the StyleOptions and QuoteOptions programs from Chapter
5. That is, the new program should present the appropriate
quote (using radio buttons) whose style can be changed (using
checkboxes). Also include a slider that regulates the size of the
quotation font. Design the containment hierarchy carefully and
use layout managers as appropriate to create a nice interface.
PP 10.9 Design and implement an application that draws the graph of
the equation ax 2 + bx + c, where the values of a, b, and c are set
using three sliders.
 
Search WWH ::




Custom Search