Bar graph representing the average temperature during the year
JAVA
Description:
An application that displays a JFrame window in which a bar graph is drawn representing the average temperature during the year.
The graph contains 12 columns, each column representing a month, and the column height represents the average temperature for that month in a particular year
The user first enters a number representing the year and then 12 numbers representing the average temperature throughout the year, using the dialog box.
The program then displays a bar graph according to the values entered.
The column with the highest temperature is displayed in red and the lowest temperature column is displayed in blue.