JTF > Demo Gallery > acm.graphics > PieChart

This program illustrates the use of filled arcs to draw a pie chart. You can change the chart by typing in a string of values in the text field. The check box makes it possible to see how the display differs if you let Java fill the arcs, as opposed to the default behavior of the acm.graphics package, which uses polygons to render the arcs.