修复部分已知问题
This commit is contained in:
@@ -94,7 +94,7 @@ public class AliYunPan extends JFrame implements ActionListener {
|
||||
}
|
||||
}
|
||||
//设置显示窗口标题
|
||||
setTitle("备份助手");
|
||||
setTitle("阿里云盘备份工具");
|
||||
//设置标题栏的图标
|
||||
this.setIconImage(new ImageIcon(getClass().getResource("/images/logo.png")).getImage());
|
||||
//设置窗口显示尺寸
|
||||
@@ -130,7 +130,7 @@ public class AliYunPan extends JFrame implements ActionListener {
|
||||
*/
|
||||
JLabel pathTitle = new JLabel("选择目录");
|
||||
pathText = new JTextField();
|
||||
JLabel tokenTitle = new JLabel("阿里云Token");
|
||||
JLabel tokenTitle = new JLabel("Token");
|
||||
//tokenText = new JTextField();
|
||||
JLabel folderTitle = new JLabel("备份目录名称");
|
||||
folderText = new JTextField();
|
||||
|
@@ -1,6 +1,9 @@
|
||||
package com.eg.www;
|
||||
|
||||
import cn.hutool.cron.CronUtil;
|
||||
import com.formdev.flatlaf.FlatDarculaLaf;
|
||||
|
||||
import javax.swing.*;
|
||||
|
||||
/**
|
||||
* 微信备份程序
|
||||
@@ -8,6 +11,9 @@ import cn.hutool.cron.CronUtil;
|
||||
*/
|
||||
public class App {
|
||||
public static void main( String[] args ) {
|
||||
|
||||
FlatDarculaLaf.install();
|
||||
|
||||
//加载UI
|
||||
new AliYunPan();
|
||||
//开启定时
|
||||
|
@@ -10,11 +10,6 @@ import java.awt.*;
|
||||
*/
|
||||
public class MyConsole extends JTextArea {
|
||||
public MyConsole() {
|
||||
String info="温馨提示:备份目录名称是要备份到阿里云盘那个目录下(不存在则自动创建)\n";
|
||||
info+="普通备份:会按本地目录结构上传文件\n";
|
||||
info+="分类备份:会将本地文件按文档、压缩包、软件、音乐、图片、视频等分类上传\n";
|
||||
info+="运行日志...\n";
|
||||
this.setText(info);
|
||||
this.setForeground(Color.white);
|
||||
this.setBackground(Color.BLACK);
|
||||
//启动自动换行
|
||||
|
Reference in New Issue
Block a user