Creating a simple java pie chart.