package me.bell;

import java.awt.*;

public class Main {


    public static void main(String[] args) throws Exception {
        //判断系统是否支持System Tray
        if (!SystemTray.isSupported()) {
            System.out.println("System Tray is not supported");
            return;
        } else {
            //执行任务
            Thread startThread = new Thread(new TrayUpdate());
            startThread.start();
        }
    }

}
