Author: jflesch
Date: 2008-02-21 16:31:19 +0000 (Thu, 21 Feb 2008)
New Revision: 18097
Modified:
trunk/apps/Thaw/src/thaw/gui/WarningWindow.java
Log:
thaw.gui.WarningWindow : Fix an NPE
Modified: trunk/apps/Thaw/src/thaw/gui/WarningWindow.java
===================================================================
--- trunk/apps/Thaw/src/thaw/gui/WarningWindow.java 2008-02-21 11:17:33 UTC
(rev 18096)
+++ trunk/apps/Thaw/src/thaw/gui/WarningWindow.java 2008-02-21 16:31:19 UTC
(rev 18097)
@@ -20,7 +20,7 @@
final String warning)
{
this(core != null ?
- (core.getSplashScreen().getDialog() != null ?
+ (core.getSplashScreen() != null &&
core.getSplashScreen().getDialog() != null ?
(Component)core.getSplashScreen().getDialog()
: (Component)core.getMainWindow().getMainFrame())
: (Component)null,