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 0000000000..97ee116855 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 0000000000..667a7c0cdf 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 0000000000..a3d5423f97 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 0000000000..7eed33901b 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 0000000000..b1c3675a04 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 0000000000..ce2ed4a890 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 0000000000..a7d6c8cad6 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 0000000000..53c12eb30c 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 0000000000..c5fb22863f 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 0000000000..d6c165e579 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 0000000000..dfc820247e 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 0000000000..d02b7971d1 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 0000000000..568b5428ee 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 0000000000..56396c8035 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 0000000000..1d571ada52 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 0000000000..a9f208ee28 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 67157aee2f..6b80aae8be 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);