index = ( Index ) database.getUserIndex( idxAttr );
index = database.getUserIndex( idxAttr );
    public void showIndexDialog( String idxAttr )        throws Exception    {        Index index = null;        boolean isSystem = database.hasSystemIndexOn( idxAttr );                if ( isSystem )        {            index = ( Index ) database.getSystemIndex( idxAttr );        }        else         {            index = ( Index ) database.getUserIndex( idxAttr );        }        if ( index != null )        {            IndexDialog dialog = new IndexDialog( this, false, index );            centerOnScreen( dialog );            dialog.setEnabled( true );            dialog.setVisible( true );        }    }