package main_frame;
import java.awt.BorderLayout;
import javax.swing.JFrame;
import javax.swing.JPanel;
import com.borland.jbcl.layout.XYLayout;
import com.borland.jbcl.layout.*;
import java.awt.Color;
import javax.swing.BorderFactory;
import javax.swing.JToolBar;
import javax.swing.border.Border;
import javax.swing.JToggleButton;
import javax.swing.JEditorPane;
import javax.swing.JSpinner;
import javax.swing.JSlider;
import javax.swing.JMenuBar;
import javax.swing.JSplitPane;
import javax.swing.JTextPane;
import javax.swing.JButton;
import javax.swing.JOptionPane;
import javax.swing.Icon;
import javax.swing.border.EtchedBorder;
import java.awt.Font;
import javax.swing.Box;
import java.awt.Component;
import javax.swing.JScrollBar;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JLabel;
import javax.swing.ImageIcon;
/**
* import package
*/
import today_list.*;
import user_help.*;
import list_all.*;
import new_memoire.*;
import dboperate.*;
import java.awt.event.MouseEvent;
import system_setting.Memoire_Setting;
import awokeOperate.ShowFrame;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.awt.Dimension;
import com.sun.media.sound.Toolkit;
/**
* <p>Title:勿忘软件,lzquan </p>
*
* <p>Description:勿忘软件 </p>
*
* <p>Copyright: 泉水依然 Copyright (c) 2007-03-20</p>
*
* <p>Company: 泉水依然</p>
*
* @author :权哥,湖南农业大学科学技术师范学院04计算机教育班.
*
* QQ:25241418
*/
public class mainFrame extends JFrame implements Runnable{
xmlConn notForgetXmlConn = null;//new xmlConn("Not_Forget",9);
/**
* 新建对象,用来获取其它窗体的组件.
*/
Object[][] Data = null;//notForgetXmlConn.getData();//获取所有记录.
Object[][] compareDate = null;
defaule_show ds = new defaule_show();
Today_List tl = new Today_List();
//所有列表.
List_All list_all = new List_All();
//创建更新xml对象.
XmlUpdate xmlUpdate = new XmlUpdate();
JPanel jPanel1 = new JPanel();
XYLayout xYLayout1 = new XYLayout();
JPanel jPanel2 = new JPanel();
Border border1 = BorderFactory.createMatteBorder(6, 6, 6, 6, Color.gray);
JToolBar jToolBar1 = new JToolBar();
Border border2 = BorderFactory.createEtchedBorder(EtchedBorder.RAISED,
Color.white, new Color(165, 163, 151));
JButton jButton1 = new JButton();
JButton jButton2 = new JButton();
JButton jButton3 = new JButton();
JToolBar jToolBar2 = new JToolBar();
JButton jButton4 = new JButton();
JButton jButton5 = new JButton();
JButton jButton6 = new JButton();
JButton jButton7 = new JButton();
JButton jButton8 = new JButton();
JToolBar jToolBar3 = new JToolBar();
JButton jButton9 = new JButton();
PaneLayout paneLayout1 = new PaneLayout();
XYLayout xYLayout2 = new XYLayout();
JLabel statusBar = new JLabel();
Object[] awokeData = new Object[9];//提醒数据.
public int todayRow;//统计今天有多少行.
public boolean isNewMemoire = false;//表示当前时候新建.如果新建了必须重新获取记录值.
public void setisNewMemoire(){
this.isNewMemoire = true;
}
public mainFrame() {
try {
this.notForgetXmlConn = new xmlConn("Not_Forget",9);
this.Data = notForgetXmlConn.getData();//获取所有记录.
jbInit();
} catch (Exception exception) {
exception.printStackTrace();
}
}
private void jbInit() throws Exception {
this.getTodayData(this.Data);
this.setTitle("-- ^_^ -- 勿忘 -- 提醒簿 -- ^_^ --");
this.setSize(500,400);
this.setResizable(false);//固定窗体大小
this.setDefaultCloseOperation(this.HIDE_ON_CLOSE);//关闭窗口时退出
getContentPane().setLayout(xYLayout1);
jToolBar1.setLayout(xYLayout1);
this.getContentPane().setBackground(new Color(227, 228, 241));
xYLayout1.setWidth(500);
xYLayout1.setHeight(400);
jPanel1.setBorder(BorderFactory.createEtchedBorder());
jPanel1.setLayout(xYLayout2);
jPanel2.setBorder(BorderFactory.createLoweredBevelBorder());
jPanel2.setLayout(paneLayout1);
jToolBar1.setToolTipText("");
jButton1.setFont(new java.awt.Font("宋体", Font.PLAIN, 15));
jButton1.setText("新建");
jButton1.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
jButton1_actionPerformed(e);
}
});
jButton2.setFont(new java.awt.Font("宋体", Font.PLAIN, 15));
jButton2.setText("今日");
jButton2.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
jButton2_actionPerformed(e);
}
});
jButton3.setFont(new java.awt.Font("宋体", Font.PLAIN, 15));
jButton3.setText("列表");
jButton3.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
jButton3_actionPerformed(e);
}
});
jButton4.setFont(new java.awt.Font("宋体", Font.PLAIN, 15));
jButton4.setText("修改");
jButton4.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
jButton4_actionPerformed(e);
}
});
jButton5.setFont(new java.awt.Font("宋体", Font.PLAIN, 15));
jButton5.setText("删除");
jButton5.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
jButton5_actionPerformed(e);
}
});
jButton6.setFont(new java.awt.Font("宋体", Font.PLAIN, 15));
jButton6.setText("过滤");
jButton6.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
jButton6_actionPerformed(e);
}
});
jButton7.setFont(new java.awt.Font("宋体", Font.PLAIN, 15));
jButton7.setText("设置");
jButton7.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
jButton7_actionPerformed(e);
}
});
jButton8.setFont(new java.awt.Font("宋体", Font.PLAIN, 15));
jButton8.setText("帮助");
jButton8.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
jButton8_actionPerformed(e);
}
});
jButton9.setFont(new java.awt.Font("宋体", Font.PLAIN, 15));
jButton9.setText("退出");
jButton9.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(ActionEvent e) {
jButton9_actionPerformed(e);
}
});
statusBar.setText("-- ^_^ -- 欢迎使用勿忘软件 -- ^_^ --");
this.getContentPane().add(jPanel1, new XYConstraints( 0, 329, 506, 32));
this.getContentPane().add(jToolBar1, new XYConstraints( -3, 0, 507, 69));
jToolBar1.add(jButton1, new XYConstraints(2, 10, 44, 51));
jToolBar1.add(jButton3, new XYConstraints(97, 10, 44, 51));
jToolBar1.add(jButton4, new XYConstraints(166, 10, 44, 51));
jToolBar1.add(jButton6, new XYConstraints(263, 10, 44, 51));
jToolBar1.add(jButton5, new XYConstraints(215, 10, 44, 51));
jToolBar1.add(jButton7, new XYConstraints(326, 10, 44, 51));
jToolBar1.add(jButton2, new XYConstraints(50, 10, 44, 51));
jToolBar1.add(jButton8, new XYConstraints(372, 10, 44, 51));
jToolBar1.add(jButton9, new XYConstraints(420, 10, 44, 51));
jToolBar1.add(jToolBar3, new XYConstraints(311, 0, 15, 67));
jToolBar1.add(jToolBar2, new XYConstraints(14
没有合适的资源?快使用搜索试试~ 我知道了~
Swing实现的备忘录(桌面版)
共689个文件
class:78个
java:32个
java~1~:24个
需积分: 32 20 下载量 189 浏览量
2009-03-15
15:52:57
上传
评论 1
收藏 6.69MB RAR 举报
温馨提示
Java+XML实现日程管理,不错哦.能直接运行,同时提供源代码.
资源推荐
资源详情
资源评论
收起资源包目录
Swing实现的备忘录(桌面版) (689个子文件)
mainFrame.class 15KB
mainFrame.class 15KB
Edit_Memoire.class 9KB
Edit_Memoire.class 9KB
New_Memoire.class 9KB
New_Memoire.class 9KB
List_All.class 8KB
List_All.class 8KB
Today_List.class 6KB
Today_List.class 6KB
ShowFrame.class 5KB
ShowFrame.class 5KB
writexml.class 5KB
writexml.class 5KB
xmlConn.class 4KB
xmlConn.class 4KB
XmlWrite.class 3KB
XmlWrite.class 3KB
XmlUpdate.class 3KB
XmlUpdate.class 3KB
minmizeFrame.class 3KB
minmizeFrame.class 3KB
IndexFrame.class 3KB
IndexFrame.class 3KB
xmlOperate.class 2KB
xmlOperate.class 2KB
Help_HandBook.class 2KB
Help_HandBook.class 2KB
Memoire_Setting.class 2KB
Memoire_Setting.class 2KB
defaule_show.class 2KB
defaule_show.class 2KB
mainFrame$10.class 774B
mainFrame$10.class 774B
Edit_Memoire$3.class 734B
Edit_Memoire$3.class 734B
Edit_Memoire$1.class 732B
Edit_Memoire$2.class 732B
Edit_Memoire$1.class 732B
Edit_Memoire$2.class 732B
minmizeFrame$1.class 727B
minmizeFrame$2.class 727B
minmizeFrame$1.class 727B
minmizeFrame$2.class 727B
New_Memoire$2.class 726B
New_Memoire$1.class 726B
New_Memoire$2.class 726B
New_Memoire$1.class 726B
ShowFrame$1.class 719B
ShowFrame$2.class 719B
ShowFrame$1.class 719B
ShowFrame$2.class 719B
mainFrame$4.class 709B
mainFrame$3.class 709B
mainFrame$2.class 709B
mainFrame$6.class 709B
mainFrame$5.class 709B
mainFrame$7.class 709B
mainFrame$9.class 709B
mainFrame$8.class 709B
mainFrame$1.class 709B
mainFrame$4.class 709B
mainFrame$3.class 709B
mainFrame$2.class 709B
mainFrame$6.class 709B
mainFrame$5.class 709B
mainFrame$7.class 709B
mainFrame$9.class 709B
mainFrame$8.class 709B
mainFrame$1.class 709B
List_All_jTree1_treeSelectionAdapter.class 706B
List_All_jTree1_treeSelectionAdapter.class 706B
Today_List_jOverduetable_mouseAdapter.class 675B
Today_List_jOverduetable_mouseAdapter.class 675B
Today_List_jTodaytable_mouseAdapter.class 669B
Today_List_jTodaytable_mouseAdapter.class 669B
List_All_jTable1_mouseAdapter.class 635B
List_All_jTable1_mouseAdapter.class 635B
Not_Forget2.config 32B
Not_Forget2.config 32B
Not_Forget2.config~250~ 32B
Not_Forget2.config~250~ 32B
Not_Forget2.config~251~ 32B
Not_Forget2.config~251~ 32B
Not_Forget2.config~252~ 32B
Not_Forget2.config~252~ 32B
Not_Forget2.config~253~ 32B
Not_Forget2.config~253~ 32B
Not_Forget2.config~254~ 32B
Not_Forget2.config~254~ 32B
Not_Forget2.config~255~ 32B
Not_Forget2.config~255~ 32B
Not_Forget2.config~256~ 32B
Not_Forget2.config~256~ 32B
Not_Forget2.config~257~ 32B
Not_Forget2.config~257~ 32B
Not_Forget2.config~258~ 32B
Not_Forget2.config~258~ 32B
Not_Forget2.config~259~ 32B
Not_Forget2.config~259~ 32B
共 689 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7
资源评论
itpkm
- 粉丝: 22
- 资源: 144
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- C++多线程的创建、终止.、连接和分离线程等pdf
- MI4803-VB一款SOP8封装2个P-Channel场效应MOS管
- unity快速入门-最快速的入门
- MI4803A-VB一款SOP8封装2个P-Channel场效应MOS管
- MI4801-VB一款SOP8封装2个P-Channel场效应MOS管
- 多变量线性回归的简单表示机代码实现
- 羊驼家族Ollama,window版本,本地大模型
- Java面试题+Java并发编程(J.U.C)+Java8实战+Redis+kafka
- 源码工程文件-libmodbus-test
- wx036校园快递平台系统-springboot+vue+uniapp-小程序.zip(可运行源码+sql文件+文档)
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功