Title: suspend the awt thread
Sorry, since the dialog is modal you need to show it in the
run of the runnable (again in the SwingUtilities and not in the
actionPerformed).
public void actionPerformed(ActionEvent ae) {
Runnable runnable = new Runnable()
{
public void run() {
Title: suspend the awt thread
Yes, create the dialog and start the progress bar in the
action peformed and then update it with calls to SwingUtilities.invokeLater in
your MyRunnable class. Make sure you close the dialog in a finally
block.
public void actionPerformed(ActionEvent ae) {
s