protected void init ( ) { JButton testButton = new JButton ( ) ; oldDayBackgroundColor = testButton . getBackground ( ) ; selectedColor = new Color ( 160 , 160 , 160 ) ; Date date = calendar . getTime ( ) ; calendar = Calendar . getInstance ( locale ) ; calendar . setTime ( date ) ; drawDayNames ( ) ; drawDays ( ) ; }
Initilizes the locale specific names for the days of the week .