fix insets issue

This commit is contained in:
servertood
2008-10-20 03:43:26 +00:00
parent 293c5c0ad4
commit 308f8a958d

View File

@@ -1,4 +1,6 @@
import java.awt.BorderLayout;
import java.awt.Insets;
import java.awt.Component;
import javax.swing.*;
import javax.swing.border.*;
@@ -10,6 +12,7 @@
String message = arg("waitOperation");
Panel statusBar = context.get("/statusBar");
JLabel text = statusBar.getProperty("text");
ProgressBar pbar = statusBar.getProperty("pbar");
Stack messages = statusBar.getProperty("messages");
@@ -53,7 +56,7 @@
statusBar.updateUI();
}
while (!worker.isDone()) {};
while (!worker.isDone()) {};
/*
* if the worker is Cancelled - we know that the user probably tried to invoke the same function