code: private void drawDayNames() {
  		int firstDayOfWeek = calendar.getFirstDayOfWeek();
  		DateFormatSymbols dateFormatSymbols = new DateFormatSymbols(locale);
  		dayNames = dateFormatSymbols.getShortWeekdays();
  
  		int day = firstDayOfWeek;
  
  		for (int i = 0; i < 7; i++) {
  			if (maxDayCharacters > 0 && maxDayCharacters < 5) {
  				if (dayNames[day].length() >= maxDayCharacters) {
  					dayNames[day] = dayNames[day]
  							.substring(0, maxDayCharacters);
  				}
  			}
  
  			days[i].setText(dayNames[day]);
  
  			if (day == 1) {
  				days[i].setForeground(sundayForeground);
  			} else {
  				days[i].setForeground(weekdayForeground);
  			}
  
  			if (day < 7) {
  				day++;
  			} else {
  				day -= 6;
  			}
  		}
  	}
docs: Draws the day names of the day columnes.