if ( iSelectedIndex < elPaletteEntries.size( ) - 1 ) { iSelectedIndex++;
case SWT.ARROW_DOWN : if ( iSelectedIndex < elPaletteEntries.size( ) - 1 ) { iSelectedIndex++; scrollToView( iSelectedIndex ); coPaletteEntries.redraw( ); } break; case SWT.ARROW_UP : if ( iSelectedIndex > 0 ) { iSelectedIndex--; scrollToView( iSelectedIndex ); coPaletteEntries.redraw( ); } break; case SWT.PAGE_DOWN : iSelectedIndex += 8; if ( iSelectedIndex > elPaletteEntries.size( ) ) { iSelectedIndex = elPaletteEntries.size( ) - 1; }
	public void keyPressed( KeyEvent e )	{		if ( e.keyCode == SWT.ARROW_DOWN )		{			if ( iSelectedIndex < elPaletteEntries.size( ) - 1 )			{				iSelectedIndex++;				scrollToView( iSelectedIndex );				coPaletteEntries.redraw( );			}		}		else if ( e.keyCode == SWT.ARROW_UP )		{			if ( iSelectedIndex > 0 )			{				iSelectedIndex--;				scrollToView( iSelectedIndex );				coPaletteEntries.redraw( );			}		}		else if ( e.keyCode == SWT.TAB )		{			btnAdd.setFocus( );		}	}