|
|
@ -57,6 +57,7 @@ import com.fr.start.server.ServerTray; |
|
|
|
import com.fr.workspace.WorkContext; |
|
|
|
import com.fr.workspace.WorkContext; |
|
|
|
|
|
|
|
|
|
|
|
import javax.swing.JComponent; |
|
|
|
import javax.swing.JComponent; |
|
|
|
|
|
|
|
import javax.swing.JOptionPane; |
|
|
|
import javax.swing.JPanel; |
|
|
|
import javax.swing.JPanel; |
|
|
|
import javax.swing.border.MatteBorder; |
|
|
|
import javax.swing.border.MatteBorder; |
|
|
|
import java.awt.Component; |
|
|
|
import java.awt.Component; |
|
|
@ -115,7 +116,10 @@ public class Designer extends BaseDesigner { |
|
|
|
try { |
|
|
|
try { |
|
|
|
designerRoot.start(); |
|
|
|
designerRoot.start(); |
|
|
|
} catch (LifecycleFatalError fatal) { |
|
|
|
} catch (LifecycleFatalError fatal) { |
|
|
|
|
|
|
|
SplashContext.getInstance().hide(); |
|
|
|
|
|
|
|
JOptionPane.showMessageDialog(null, fatal.getMessage(), com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Error"), JOptionPane.ERROR_MESSAGE); |
|
|
|
FineLoggerFactory.getLogger().error(fatal.getMessage(), fatal); |
|
|
|
FineLoggerFactory.getLogger().error(fatal.getMessage(), fatal); |
|
|
|
|
|
|
|
System.exit(0); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (WorkContext.getCurrent().isLocal()) { |
|
|
|
if (WorkContext.getCurrent().isLocal()) { |
|
|
|