SPARK-1059 - Show a toast popup when "Alert when available" is selected

substance fixes

git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@11959 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Michael Will
2010-10-26 14:20:05 +00:00
committed by michael.will
parent 4864d34213
commit 7dd8b02f67
5 changed files with 53 additions and 44 deletions

View File

@ -19,7 +19,7 @@
*/
package org.jivesoftware.spark;
import java.awt.EventQueue;
import java.awt.EventQueue;
import java.io.File;
import java.io.FileOutputStream;
import java.io.FilenameFilter;
@ -38,8 +38,6 @@ import java.util.jar.JarEntry;
import java.util.jar.JarFile;
import java.util.zip.ZipFile;
import javax.swing.SwingUtilities;
import org.dom4j.Document;
import org.dom4j.DocumentException;
import org.dom4j.Element;
@ -501,7 +499,7 @@ public class PluginManager implements MainWindowListener {
}
}
SwingUtilities.invokeAndWait(new Runnable() {
EventQueue.invokeAndWait(new Runnable() {
public void run() {
for (Plugin plugin1 : plugins) {
long start = System.currentTimeMillis();