Revision: 3890
Author: [email protected]
Date: Mon Aug 16 17:05:30 2010
Log: Doing the update check in the background in case the file cannot be reached and it has to wait for a timeout.
http://code.google.com/p/power-architect/source/detail?r=3890

Modified:
 /trunk/src/main/java/ca/sqlpower/architect/swingui/ArchitectFrame.java

=======================================
--- /trunk/src/main/java/ca/sqlpower/architect/swingui/ArchitectFrame.java Fri Aug 13 12:40:03 2010 +++ /trunk/src/main/java/ca/sqlpower/architect/swingui/ArchitectFrame.java Mon Aug 16 17:05:30 2010
@@ -1411,12 +1411,12 @@
                         }
                         frame.setCurrentSession(sessions.get(0));

-                        SwingUtilities.invokeLater(new Runnable() {
+                        new Thread(new Runnable() {
                             @Override
                             public void run() {
frame.checkForUpdateAction.checkForUpdate(false);
                             }
-                        });
+                        }).start();
                     }
                 } catch (Exception e) {
                     e.printStackTrace();

Reply via email to