Fixed borders in mainPanel and fixed border code in month calendar