From d99f1992d3307fcd65ad610cfcccb525c2611fcf Mon Sep 17 00:00:00 2001 From: RememBerBer Date: Thu, 25 Nov 2021 09:21:43 +0800 Subject: [PATCH] about dialog opt --- .../luoboduner/moo/info/ui/dialog/AboutDialog.form | 4 ++-- .../luoboduner/moo/info/ui/dialog/AboutDialog.java | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/main/java/com/luoboduner/moo/info/ui/dialog/AboutDialog.form b/src/main/java/com/luoboduner/moo/info/ui/dialog/AboutDialog.form index 67b4ea3..1844281 100644 --- a/src/main/java/com/luoboduner/moo/info/ui/dialog/AboutDialog.form +++ b/src/main/java/com/luoboduner/moo/info/ui/dialog/AboutDialog.form @@ -205,12 +205,12 @@ - + - + diff --git a/src/main/java/com/luoboduner/moo/info/ui/dialog/AboutDialog.java b/src/main/java/com/luoboduner/moo/info/ui/dialog/AboutDialog.java index 981316c..ba2e48f 100644 --- a/src/main/java/com/luoboduner/moo/info/ui/dialog/AboutDialog.java +++ b/src/main/java/com/luoboduner/moo/info/ui/dialog/AboutDialog.java @@ -30,7 +30,7 @@ public class AboutDialog extends JDialog { private JLabel codeGiteeLabel; private JLabel issueLabel; private JLabel hutoolLabel; - private JLabel vsCodeIconsLabel; + private JLabel iconFontLabel; private JLabel wePushLinkLabel; private JPanel wePushPanel; private JLabel authorLabel; @@ -294,13 +294,13 @@ public class AboutDialog extends JDialog { e.getComponent().setCursor(new Cursor(Cursor.HAND_CURSOR)); } }); - vsCodeIconsLabel.addMouseListener(new MouseAdapter() { + iconFontLabel.addMouseListener(new MouseAdapter() { @Override public void mouseClicked(MouseEvent e) { super.mouseClicked(e); Desktop desktop = Desktop.getDesktop(); try { - desktop.browse(new URI("https://github.com/microsoft/vscode-icons")); + desktop.browse(new URI("https://www.iconfont.cn/")); } catch (IOException | URISyntaxException e1) { e1.printStackTrace(); } @@ -432,9 +432,9 @@ public class AboutDialog extends JDialog { hutoolLabel = new JLabel(); hutoolLabel.setText("Hutool"); panel6.add(hutoolLabel, new GridConstraints(2, 0, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false)); - vsCodeIconsLabel = new JLabel(); - vsCodeIconsLabel.setText("vscode-icons"); - panel6.add(vsCodeIconsLabel, new GridConstraints(3, 0, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false)); + iconFontLabel = new JLabel(); + iconFontLabel.setText("iconfont"); + panel6.add(iconFontLabel, new GridConstraints(3, 0, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false)); final JPanel panel7 = new JPanel(); panel7.setLayout(new GridLayoutManager(1, 1, new Insets(5, 3, 20, 0), -1, -1)); panel1.add(panel7, new GridConstraints(6, 0, 1, 2, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));