|
|
|
@ -5,6 +5,7 @@ import com.fine.theme.utils.FineUIScale;
|
|
|
|
|
import com.fine.theme.utils.FineUIStyle; |
|
|
|
|
import com.formdev.flatlaf.util.ScaledEmptyBorder; |
|
|
|
|
import com.fr.base.GraphHelper; |
|
|
|
|
import com.fr.design.border.FineBorderFactory; |
|
|
|
|
import com.fr.design.dialog.link.MessageWithLink; |
|
|
|
|
import com.fr.design.gui.ibutton.UIButton; |
|
|
|
|
import com.fr.design.gui.icontainer.UIScrollPane; |
|
|
|
@ -14,7 +15,6 @@ import com.fr.design.i18n.Toolkit;
|
|
|
|
|
import com.fr.design.layout.FRGUIPaneFactory; |
|
|
|
|
import com.fr.design.utils.DesignUtils; |
|
|
|
|
import com.fr.design.utils.gui.GUICoreUtils; |
|
|
|
|
import com.fr.general.IOUtils; |
|
|
|
|
import com.fr.stable.StringUtils; |
|
|
|
|
import java.awt.BorderLayout; |
|
|
|
|
import java.awt.Color; |
|
|
|
@ -30,7 +30,6 @@ import java.awt.event.MouseAdapter;
|
|
|
|
|
import java.awt.event.MouseEvent; |
|
|
|
|
import java.io.PrintWriter; |
|
|
|
|
import java.io.StringWriter; |
|
|
|
|
import javax.swing.BorderFactory; |
|
|
|
|
import javax.swing.JComponent; |
|
|
|
|
import javax.swing.JPanel; |
|
|
|
|
import javax.swing.SwingUtilities; |
|
|
|
@ -179,9 +178,11 @@ public class UIDetailErrorLinkDialog extends UIDialog {
|
|
|
|
|
public StackPane(String stack) { |
|
|
|
|
setLayout(new BorderLayout()); |
|
|
|
|
UITextArea textArea = new UITextArea(); |
|
|
|
|
textArea.setBorder(null); |
|
|
|
|
textArea.setEditable(false); |
|
|
|
|
textArea.setText(stack); |
|
|
|
|
UIScrollPane scrollPane = new UIScrollPane(textArea); |
|
|
|
|
scrollPane.setBorder(FineBorderFactory.createWrappedRoundBorder()); |
|
|
|
|
add(scrollPane); |
|
|
|
|
// 滚动条默认在顶部
|
|
|
|
|
SwingUtilities.invokeLater(new Runnable() { |
|
|
|
|