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
15
- WEEK 3 QUESTIONS
- HOMEWORK FOR KIM WOODS ONLY
- Mission 3
- Assignment
- The broader the scope of responsibility managers have in a health services organization, the greater the imperative to develop, cultivate, and refine their critical thinking skills. How do we define critical thinking? Can critical thinking be taught?
- week 7 class 3
- Individual Project 5
- rest - Solver genuis
- HR
- LAW ASSIGNMENT DUE TODAY!!