|
|
@ -1,6 +1,7 @@ |
|
|
|
package com.fr.startup.ui; |
|
|
|
package com.fr.startup.ui; |
|
|
|
|
|
|
|
|
|
|
|
import com.fr.base.svg.IconUtils; |
|
|
|
import com.fr.base.svg.IconUtils; |
|
|
|
|
|
|
|
import com.fr.concurrent.NamedThreadFactory; |
|
|
|
import com.fr.design.DesignerEnvManager; |
|
|
|
import com.fr.design.DesignerEnvManager; |
|
|
|
import com.fr.design.dialog.UIExpandDialog; |
|
|
|
import com.fr.design.dialog.UIExpandDialog; |
|
|
|
import com.fr.design.gui.icontainer.UIScrollPane; |
|
|
|
import com.fr.design.gui.icontainer.UIScrollPane; |
|
|
@ -8,6 +9,8 @@ import com.fr.design.gui.ilable.UILabel; |
|
|
|
import com.fr.design.i18n.Toolkit; |
|
|
|
import com.fr.design.i18n.Toolkit; |
|
|
|
import com.fr.design.layout.FRGUIPaneFactory; |
|
|
|
import com.fr.design.layout.FRGUIPaneFactory; |
|
|
|
import com.fr.design.layout.VerticalFlowLayout; |
|
|
|
import com.fr.design.layout.VerticalFlowLayout; |
|
|
|
|
|
|
|
import com.fr.design.mainframe.messagecollect.StartErrorMessageCollector; |
|
|
|
|
|
|
|
import com.fr.design.mainframe.messagecollect.entity.DesignerErrorMessage; |
|
|
|
import com.fr.design.ui.util.UIUtil; |
|
|
|
import com.fr.design.ui.util.UIUtil; |
|
|
|
import com.fr.design.utils.ColorUtils; |
|
|
|
import com.fr.design.utils.ColorUtils; |
|
|
|
import com.fr.design.utils.ThemeUtils; |
|
|
|
import com.fr.design.utils.ThemeUtils; |
|
|
@ -49,6 +52,8 @@ import java.awt.event.WindowEvent; |
|
|
|
import java.awt.image.BufferedImage; |
|
|
|
import java.awt.image.BufferedImage; |
|
|
|
import java.util.List; |
|
|
|
import java.util.List; |
|
|
|
import java.util.Map; |
|
|
|
import java.util.Map; |
|
|
|
|
|
|
|
import java.util.concurrent.ExecutorService; |
|
|
|
|
|
|
|
import java.util.concurrent.Executors; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 启动页 |
|
|
|
* 启动页 |
|
|
@ -269,6 +274,9 @@ public class StartupPageWindow extends JFrame { |
|
|
|
setEnabled(true); |
|
|
|
setEnabled(true); |
|
|
|
}); |
|
|
|
}); |
|
|
|
FineLoggerFactory.getLogger().error(e.getMessage(), e); |
|
|
|
FineLoggerFactory.getLogger().error(e.getMessage(), e); |
|
|
|
|
|
|
|
StartErrorMessageCollector.getInstance().asyncRecord(DesignerErrorMessage.UNEXCEPTED_START_FAILED.getId(), |
|
|
|
|
|
|
|
DesignerErrorMessage.UNEXCEPTED_START_FAILED.getMessage(), |
|
|
|
|
|
|
|
e.getMessage()); |
|
|
|
} finally { |
|
|
|
} finally { |
|
|
|
loadingPanel.hide(); |
|
|
|
loadingPanel.hide(); |
|
|
|
} |
|
|
|
} |
|
|
|