M
Michael Cox
MonthComponent[] month = new MonthComponent[12];
You've not added anything to the array.
You need to add the months
i.e. month[0] = new MonthComponent();
month[1] = new .....
etc....
month[0].setBackground(Color.WHITE);
"java.lang.NullPointerException"
You've not added anything to the array.
You need to add the months
i.e. month[0] = new MonthComponent();
month[1] = new .....
etc....