From a805b30310b0518688bde24ab0f8a1034c306e0c Mon Sep 17 00:00:00 2001 From: XiaXiang Date: Sun, 9 Jul 2017 16:31:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E6=8C=81gif=E5=8A=A8=E7=94=BB?= =?UTF-8?q?=EF=BC=8C=E4=B9=8B=E5=89=8D=E6=94=B9=E9=94=99=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../design/mainframe/alphafine/cell/render/TitleCellRender.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/designer/src/com/fr/design/mainframe/alphafine/cell/render/TitleCellRender.java b/designer/src/com/fr/design/mainframe/alphafine/cell/render/TitleCellRender.java index b105adba9d..ca1890ea82 100644 --- a/designer/src/com/fr/design/mainframe/alphafine/cell/render/TitleCellRender.java +++ b/designer/src/com/fr/design/mainframe/alphafine/cell/render/TitleCellRender.java @@ -33,7 +33,7 @@ public class TitleCellRender implements ListCellRenderer { panel.add(showMoreLabel, BorderLayout.EAST); } if (moreModel.isLoading()) { - ImageIcon imageIcon = (ImageIcon) IOUtils.readIcon("/com/fr/design/mainframe/alphafine/images/loading.gif"); + ImageIcon imageIcon = new ImageIcon(getClass().getResource("/com/fr/design/mainframe/alphafine/images/loading.gif")); //设置cell的加载动画 imageIcon.setImageObserver(list); UILabel loadingLabel = new UILabel(imageIcon);