public Component getTableCellRendererComponent (JTable table, Object value, boolean selected, 
                boolean focused, int row, int column) {
            super.getTableCellRendererComponent(table, value, selected, focused, row, column);
            
            if (column == 0 || column == 6) { //Weekend rendering.
                setBackground (new Color(210, 210, 210));
            } else { //Week rendering.
                setBackground(new Color(255, 255, 255));
            }
            if (value != null) {
                if (Integer.parseInt(value.toString()) == realDay && currentMonth == realMonth && currentYear == realYear) {
                    setBackground (new Color(220, 220, 225));
                }
            }
            setBorder(null);
            setForeground(Color.black);
            return this;
        }