computer science
Modify DepartmentSalesS project posted on Blackboard as “Observer Pattern Example - Chart Using Swing” Add an Observer to display monthly sales in a pie chart. You modify YDTChart.java so it will display a pie chart. Modify SupervisorView.java to add a PieChart observer and change Layout so it has three columns. Follow the link to see how to draw pie chart as multiple pies. http://cs111.wellesley.edu/~cs111/archive/cs111_fall06/public_html/labs/lab12/arc.html You may use a Color array like Color[] colors= {Color.blue,Color.yellow, Color.gray, Color.green, Color.cyan, Color.red,Color.magenta, Color.orange, Color.pink, Color.darkGray, Color.black, Color.lightGray}; Before you draw the pie piece for a month i, you set color like g.setColor(colors[i]); 2. Modify ChartS posted on Blackboard as “Observer Pattern Example - Chart Using Swing” Add a PieChart to display monthly sales You may follow the following website: http://tutorials.jenkov.com/javafx/piechart.html Create array of PieChart.Data using a loop. Add one a time to PieChart using a loop. To display the tip of %, you may follow the following website https://riptutorial.com/javafx/example/8733/pie-chart
5 years ago
9
- Universally Usable Interface
- EDU 371: Phonics Based Reading & Decoding week 3 DQ 2
- MT460 DB7
- Essay
- SOCIOlogy discussion question
- i need this done in a short time frame
- BUS 302 Week 4 Assignment 1 Innovation from Googles Free Food Strategy
- Home work help, ExceptionalGeek Only Unit 5 IP 2nd Class
- Spanish Mensaje electrónico Fill in the blanks with the correct present tense forms of the logical verbs. Use each verb once.
- Managerial Accounting