Author: jflesch
Date: 2007-08-04 01:51:10 +0000 (Sat, 04 Aug 2007)
New Revision: 14482
Modified:
trunk/apps/Thaw/src/thaw/core/ConfigWindow.java
Log:
Fix the 'please wait' dialog when reloading the plugins
Modified: trunk/apps/Thaw/src/thaw/core/ConfigWindow.java
===================================================================
--- trunk/apps/Thaw/src/thaw/core/ConfigWindow.java 2007-08-03 20:52:39 UTC
(rev 14481)
+++ trunk/apps/Thaw/src/thaw/core/ConfigWindow.java 2007-08-04 01:51:10 UTC
(rev 14482)
@@ -243,16 +243,16 @@
Toolkit.getDefaultToolkit().getScreenSize();
Dimension dialogSize = dialog.getSize();
- dialog.setLocation(dialogSize.width/2 -
(dialogSize.width/2),
- dialogSize.height/2 -
(dialogSize.height/2));
+ dialog.setLocation(screenSize.width/2 -
(dialogSize.width/2),
+ screenSize.height/2 -
(dialogSize.height/2));
dialog.setVisible(true);
dialog.setSize(150, 30);
dialogSize = dialog.getSize();
- dialog.setLocation(dialogSize.width/2 -
(dialogSize.width/2),
- dialogSize.height/2 -
(dialogSize.height/2));
+ dialog.setLocation(screenSize.width/2 -
(dialogSize.width/2),
+ screenSize.height/2 -
(dialogSize.height/2));
core.getPluginManager().stopPlugins();