diff --git a/designer/src/com/fr/design/mainframe/alphafine/images/alphafine1@2x.png b/designer/src/com/fr/design/mainframe/alphafine/images/alphafine1@2x.png new file mode 100644 index 000000000..97ee11685 Binary files /dev/null and b/designer/src/com/fr/design/mainframe/alphafine/images/alphafine1@2x.png differ diff --git a/designer/src/com/fr/design/mainframe/alphafine/images/alphafine2@2x.png b/designer/src/com/fr/design/mainframe/alphafine/images/alphafine2@2x.png new file mode 100644 index 000000000..667a7c0cd Binary files /dev/null and b/designer/src/com/fr/design/mainframe/alphafine/images/alphafine2@2x.png differ diff --git a/designer/src/com/fr/design/mainframe/alphafine/images/alphafine3@2x.png b/designer/src/com/fr/design/mainframe/alphafine/images/alphafine3@2x.png new file mode 100644 index 000000000..a3d5423f9 Binary files /dev/null and b/designer/src/com/fr/design/mainframe/alphafine/images/alphafine3@2x.png differ diff --git a/designer/src/com/fr/design/mainframe/alphafine/images/alphafine4@2x.png b/designer/src/com/fr/design/mainframe/alphafine/images/alphafine4@2x.png new file mode 100644 index 000000000..7eed33901 Binary files /dev/null and b/designer/src/com/fr/design/mainframe/alphafine/images/alphafine4@2x.png differ diff --git a/designer/src/com/fr/design/mainframe/alphafine/images/alphafine5@2x.png b/designer/src/com/fr/design/mainframe/alphafine/images/alphafine5@2x.png new file mode 100644 index 000000000..b1c3675a0 Binary files /dev/null and b/designer/src/com/fr/design/mainframe/alphafine/images/alphafine5@2x.png differ diff --git a/designer/src/com/fr/design/mainframe/alphafine/images/alphafine_close@2x.png b/designer/src/com/fr/design/mainframe/alphafine/images/alphafine_close@2x.png new file mode 100644 index 000000000..ce2ed4a89 Binary files /dev/null and b/designer/src/com/fr/design/mainframe/alphafine/images/alphafine_close@2x.png differ diff --git a/designer/src/com/fr/design/mainframe/alphafine/images/bigsearch@2x.png b/designer/src/com/fr/design/mainframe/alphafine/images/bigsearch@2x.png new file mode 100644 index 000000000..a7d6c8cad Binary files /dev/null and b/designer/src/com/fr/design/mainframe/alphafine/images/bigsearch@2x.png differ diff --git a/designer/src/com/fr/design/mainframe/alphafine/images/no_result@2x.png b/designer/src/com/fr/design/mainframe/alphafine/images/no_result@2x.png new file mode 100644 index 000000000..53c12eb30 Binary files /dev/null and b/designer/src/com/fr/design/mainframe/alphafine/images/no_result@2x.png differ diff --git a/designer/src/com/fr/design/mainframe/alphafine/images/noresult@2x.png b/designer/src/com/fr/design/mainframe/alphafine/images/noresult@2x.png new file mode 100644 index 000000000..c5fb22863 Binary files /dev/null and b/designer/src/com/fr/design/mainframe/alphafine/images/noresult@2x.png differ diff --git a/designer/src/com/fr/design/mainframe/alphafine/images/opening@2x.gif b/designer/src/com/fr/design/mainframe/alphafine/images/opening@2x.gif new file mode 100644 index 000000000..d6c165e57 Binary files /dev/null and b/designer/src/com/fr/design/mainframe/alphafine/images/opening@2x.gif differ diff --git a/designer/src/com/fr/design/mainframe/alphafine/images/selected1@2x.png b/designer/src/com/fr/design/mainframe/alphafine/images/selected1@2x.png new file mode 100644 index 000000000..dfc820247 Binary files /dev/null and b/designer/src/com/fr/design/mainframe/alphafine/images/selected1@2x.png differ diff --git a/designer/src/com/fr/design/mainframe/alphafine/images/selected2@2x.png b/designer/src/com/fr/design/mainframe/alphafine/images/selected2@2x.png new file mode 100644 index 000000000..d02b7971d Binary files /dev/null and b/designer/src/com/fr/design/mainframe/alphafine/images/selected2@2x.png differ diff --git a/designer/src/com/fr/design/mainframe/alphafine/images/selected3@2x.png b/designer/src/com/fr/design/mainframe/alphafine/images/selected3@2x.png new file mode 100644 index 000000000..568b5428e Binary files /dev/null and b/designer/src/com/fr/design/mainframe/alphafine/images/selected3@2x.png differ diff --git a/designer/src/com/fr/design/mainframe/alphafine/images/selected4@2x.png b/designer/src/com/fr/design/mainframe/alphafine/images/selected4@2x.png new file mode 100644 index 000000000..56396c803 Binary files /dev/null and b/designer/src/com/fr/design/mainframe/alphafine/images/selected4@2x.png differ diff --git a/designer/src/com/fr/design/mainframe/alphafine/images/selected5@2x.png b/designer/src/com/fr/design/mainframe/alphafine/images/selected5@2x.png new file mode 100644 index 000000000..1d571ada5 Binary files /dev/null and b/designer/src/com/fr/design/mainframe/alphafine/images/selected5@2x.png differ diff --git a/designer/src/com/fr/design/mainframe/alphafine/images/smallsearch@2x.png b/designer/src/com/fr/design/mainframe/alphafine/images/smallsearch@2x.png new file mode 100644 index 000000000..a9f208ee2 Binary files /dev/null and b/designer/src/com/fr/design/mainframe/alphafine/images/smallsearch@2x.png differ diff --git a/designer/src/com/fr/design/mainframe/alphafine/preview/NoResultPane.java b/designer/src/com/fr/design/mainframe/alphafine/preview/NoResultPane.java index 67157aee2..6b80aae8b 100644 --- a/designer/src/com/fr/design/mainframe/alphafine/preview/NoResultPane.java +++ b/designer/src/com/fr/design/mainframe/alphafine/preview/NoResultPane.java @@ -1,5 +1,6 @@ package com.fr.design.mainframe.alphafine.preview; +import com.bulenkov.iconloader.IconLoader; import com.fr.design.gui.ilable.UILabel; import com.fr.design.mainframe.alphafine.AlphaFineConstants; import com.fr.general.FRFont; @@ -11,14 +12,14 @@ import java.awt.*; * Created by XiaXiang on 2017/8/14. */ public class NoResultPane extends JPanel { - public NoResultPane(String title, Icon icon) { + public NoResultPane(String title, String iconUrl) { setLayout(new BorderLayout()); setBackground(Color.white); setPreferredSize(new Dimension(AlphaFineConstants.LEFT_WIDTH, AlphaFineConstants.CONTENT_HEIGHT)); UILabel image = new UILabel(); image.setPreferredSize(new Dimension(150, 111)); image.setHorizontalAlignment(SwingConstants.CENTER); - image.setIcon(icon); + image.setIcon(IconLoader.getIcon(iconUrl)); image.setBorder(BorderFactory.createEmptyBorder(100,0,0,0)); UILabel description = new UILabel(title); description.setForeground(AlphaFineConstants.MEDIUM_GRAY);