Browse Source

javaswing系统工具增加测试按钮

master
lixl1 3 years ago
parent
commit
4cc3ad4e0e
  1. BIN
      pictureIcon/清理.png
  2. BIN
      pictureIcon/运行.png
  3. BIN
      pictureIcon/重启.png
  4. 16
      src/main/java/com/insigma/ui/SwingFrame.java

BIN
pictureIcon/清理.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

BIN
pictureIcon/运行.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

BIN
pictureIcon/重启.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

16
src/main/java/com/insigma/ui/SwingFrame.java

@ -168,7 +168,7 @@ public class SwingFrame extends JFrame implements ActionListener {
JLabel lblNewLabel_2 = new JLabel(); JLabel lblNewLabel_2 = new JLabel();
lblNewLabel_2.setFont(new Font("微软雅黑", Font.PLAIN, 15)); lblNewLabel_2.setFont(new Font("微软雅黑", Font.PLAIN, 15));
lblNewLabel_2.setText("<html><body>清理缓存<br>释放空间<body></html>"); lblNewLabel_2.setText("<html><body>清理缓存<br>释放空间<body></html>");
lblNewLabel_2.setIcon(new ImageIcon("C:\\Users\\86177\\Desktop\\\u65B0\u5EFA\u6587\u4EF6\u5939\\\u6E05\u7406.png")); lblNewLabel_2.setIcon(new ImageIcon("pictureIcon/清理.png"));
lblNewLabel_2.setBounds(658, 134, 120, 67); lblNewLabel_2.setBounds(658, 134, 120, 67);
repairPanel.add(lblNewLabel_2); repairPanel.add(lblNewLabel_2);
@ -191,14 +191,14 @@ public class SwingFrame extends JFrame implements ActionListener {
JLabel label_9 = new JLabel(); JLabel label_9 = new JLabel();
label_9.setFont(new Font("微软雅黑", Font.PLAIN, 15)); label_9.setFont(new Font("微软雅黑", Font.PLAIN, 15));
label_9.setText("<html><body>提高系统<br>运行速度<body></html>"); label_9.setText("<html><body>提高系统<br>运行速度<body></html>");
label_9.setIcon(new ImageIcon("C:\\Users\\86177\\Desktop\\\u65B0\u5EFA\u6587\u4EF6\u5939\\\u8FD0\u884C.png")); label_9.setIcon(new ImageIcon("pictureIcon/运行.png"));
label_9.setBounds(536, 205, 125, 77); label_9.setBounds(536, 205, 125, 77);
repairPanel.add(label_9); repairPanel.add(label_9);
JLabel label_13 = new JLabel(); JLabel label_13 = new JLabel();
label_13.setFont(new Font("微软雅黑", Font.PLAIN, 15)); label_13.setFont(new Font("微软雅黑", Font.PLAIN, 15));
label_13.setText("<html><body>重启服务<br>更新系统<body></html>"); label_13.setText("<html><body>重启服务<br>更新系统<body></html>");
label_13.setIcon(new ImageIcon("C:\\Users\\86177\\Desktop\\\u65B0\u5EFA\u6587\u4EF6\u5939\\\u91CD\u542F.png")); label_13.setIcon(new ImageIcon("pictureIcon/重启.png"));
label_13.setBounds(536, 129, 125, 77); label_13.setBounds(536, 129, 125, 77);
repairPanel.add(label_13); repairPanel.add(label_13);
@ -540,21 +540,21 @@ public class SwingFrame extends JFrame implements ActionListener {
scrollPane.setViewportView(textPane); scrollPane.setViewportView(textPane);
JLabel label_14 = new JLabel(); JLabel label_14 = new JLabel();
label_14.setIcon(new ImageIcon("C:\\Users\\86177\\Desktop\\\u65B0\u5EFA\u6587\u4EF6\u5939\\\u91CD\u542F.png")); label_14.setIcon(new ImageIcon("pictureIcon/重启.png"));
label_14.setText("<html><body>重启服务<br>更新系统<body></html>"); label_14.setText("<html><body>重启服务<br>更新系统<body></html>");
label_14.setFont(new Font("微软雅黑", Font.PLAIN, 15)); label_14.setFont(new Font("微软雅黑", Font.PLAIN, 15));
label_14.setBounds(496, 152, 125, 77); label_14.setBounds(506, 152, 125, 77);
startRepairPanel.add(label_14); startRepairPanel.add(label_14);
JLabel label_15 = new JLabel(); JLabel label_15 = new JLabel();
label_15.setIcon(new ImageIcon("C:\\Users\\86177\\Desktop\\\u65B0\u5EFA\u6587\u4EF6\u5939\\\u6E05\u7406.png")); label_15.setIcon(new ImageIcon("pictureIcon/清理.png"));
label_15.setText("<html><body>清理缓存<br>释放空间<body></html>"); label_15.setText("<html><body>清理缓存<br>释放空间<body></html>");
label_15.setFont(new Font("微软雅黑", Font.PLAIN, 15)); label_15.setFont(new Font("微软雅黑", Font.PLAIN, 15));
label_15.setBounds(639, 157, 120, 67); label_15.setBounds(659, 157, 120, 67);
startRepairPanel.add(label_15); startRepairPanel.add(label_15);
JLabel label_16 = new JLabel(); JLabel label_16 = new JLabel();
label_16.setIcon(new ImageIcon("C:\\Users\\86177\\Desktop\\\u65B0\u5EFA\u6587\u4EF6\u5939\\\u8FD0\u884C.png")); label_16.setIcon(new ImageIcon("pictureIcon/运行.png"));
label_16.setText("<html><body>提高系统<br>运行速度<body></html>"); label_16.setText("<html><body>提高系统<br>运行速度<body></html>");
label_16.setFont(new Font("微软雅黑", Font.PLAIN, 15)); label_16.setFont(new Font("微软雅黑", Font.PLAIN, 15));
label_16.setBounds(506, 242, 125, 77); label_16.setBounds(506, 242, 125, 77);

Loading…
Cancel
Save