// disable the abort JButton from a non-Swing thread.
SwingUtilities.invokeLater( new Runnable() {
    public void run()
        {
        abort.setEnabled( false );
        }
} );