this.addFocusListener
( new FocusAdapter()
     {
     /**
     * Handle Dialog getting focus, give to dismiss Button.
     *
     * @param e event giving details
     */
     public void focusGained ( FocusEvent e )
        {
        dismissButton.requestFocus();
        } // end focusGained
     } // end anonymous class
);// end addFocusListener line