private void tray(){
button.setEnabled(true);
tray = SystemTray.getSystemTray(); // 获得本操作系统托盘的实例
//File directory=new File("images");
//System.out.println(directory.getAbsolutePath());
ImageIcon icon = new ImageIcon(new FileOperate().getConfigFilePathForEvery()+"/picon.jpg"); // 将要显示到托盘中的图标
PopupMenu pop = new PopupMenu(); // 构造一个右键弹出式菜单
MenuItem show = new MenuItem("显示窗口");
MenuItem exit = new MenuItem("退出");
MenuItem author = new MenuItem("关于");
/**