public void keyPressed( KeyEvent e ) {
        int iday = getSelectedDay();
        switch ( e.getKeyCode() ) {
            case KeyEvent.VK_LEFT:
                if ( iday > 1 )
                    setSelected( iday-1 );
                break;
            case KeyEvent.VK_RIGHT:
                if ( iday < lastDay )
                    setSelected( iday+1 );
                break;
            case KeyEvent.VK_UP:
                if ( iday > 7 )
                    setSelected( iday-7 );
                break;
            case KeyEvent.VK_DOWN:
                if ( iday <= lastDay-7 )
                    setSelected( iday+7 );
                break;
        }
    }