public synchronized void setIcon(Object icon, int iIconType)
    {
        if (m_rgIcons == null)
            m_rgIcons = new ImageIcon[CalendarConstants.END_ICON - CalendarConstants.START_ICON + 1];
        m_rgIcons[iIconType - CalendarConstants.START_ICON] = icon;   // Always at location 0
    }
public synchronized void setIcon ( Object icon , int iIconType ) { if ( m_rgIcons == null ) m_rgIcons = new ImageIcon [ CalendarConstants . END_ICON - CalendarConstants . START_ICON + 1 ] ; m_rgIcons [ iIconType - CalendarConstants . START_ICON ] = icon ; }
Set the icon (opt).