Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.
Implement a Java program with a non-static draw method to display a bar chart. Bar lengths follow the integer inputs with a range between 0 and 100.
Implement a Java program with a non-static draw method to display a bar chart. Bar lengths follow the integer inputs with a range between 0 and 100. The bars are drawn with different colors for different ranges. The colors for the ranges are: {orange: 1~20}, {gray: 21~40}, {yellow: 41~60}, {blue: 61~80}, and {red: 81~100}. An "OK" button is pressed to show the chart. The chart below shows a result of {15, 50, 88, 35, 75}. The bar chart will change size according to the window frame size.