Introduction - If you have any usage issues, please Google them yourself
Write a program, there is a window that is BorderLayout layout. Center of the window to add a Panel container: pCenter, pCenter layout GridLayout layout is 7 rows 7 and placed pCenter of 49 labels to display the calendar. North window add a Panel container pNorth, its layout is FlowLayout layout, pNorth place two buttons: nextMonth and previousMonth button, click nextMonth, you can display the next month' s calendar of the current month previousMonth click the button, you can display the current month last month calendar. South window to add a Panel container pSouth, its layout is FlowLayout layout, pSouth place a label used to display some information.