protected void initDecorations ( ) { for ( int x = 0 ; x < 7 ; x ++ ) { days [ x ] . setContentAreaFilled ( decorationBackgroundVisible ) ; days [ x ] . setBorderPainted ( decorationBordersVisible ) ; days [ x ] . invalidate ( ) ; days [ x ] . repaint ( ) ; weeks [ x ] . setContentAreaFilled ( decorationBackgroundVisible ) ; weeks [ x ] . setBorderPainted ( decorationBordersVisible ) ; weeks [ x ] . invalidate ( ) ; weeks [ x ] . repaint ( ) ; } }
Initializes both day names and weeks of the year .