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
没有合适的资源?快使用搜索试试~ 我知道了~
Java 提醒簿程序源码
共345个文件
class:39个
java:16个
java~1~:12个
需积分: 10 6 下载量 143 浏览量
2011-07-30
05:36:44
上传
评论
收藏 3.38MB RAR 举报
温馨提示
Java 提醒簿程序源码 public void toWrite(String mytitle,String mycontent){ Element root=document.createElement("WorkShop"); document.appendChild(root); Element title=document.createElement("Title"); title.appendChild(document.createTextNode(mytitle)); root.appendChild(title); Element content=document.createElement("Content"); content.appendChild(document.createTextNode(mycontent)); root.appendChild(content); }
资源推荐
资源详情
资源评论
收起资源包目录
Java 提醒簿程序源码 (345个子文件)
mainFrame.class 15KB
Edit_Memoire.class 9KB
New_Memoire.class 9KB
List_All.class 8KB
Today_List.class 6KB
ShowFrame.class 5KB
writexml.class 5KB
xmlConn.class 4KB
XmlWrite.class 3KB
XmlUpdate.class 3KB
minmizeFrame.class 3KB
IndexFrame.class 3KB
xmlOperate.class 2KB
Help_HandBook.class 2KB
Memoire_Setting.class 2KB
defaule_show.class 2KB
mainFrame$10.class 774B
Edit_Memoire$3.class 734B
Edit_Memoire$1.class 732B
Edit_Memoire$2.class 732B
minmizeFrame$1.class 727B
minmizeFrame$2.class 727B
New_Memoire$1.class 726B
New_Memoire$2.class 726B
ShowFrame$2.class 719B
ShowFrame$1.class 719B
mainFrame$8.class 709B
mainFrame$5.class 709B
mainFrame$7.class 709B
mainFrame$9.class 709B
mainFrame$2.class 709B
mainFrame$1.class 709B
mainFrame$4.class 709B
mainFrame$3.class 709B
mainFrame$6.class 709B
List_All_jTree1_treeSelectionAdapter.class 706B
Today_List_jOverduetable_mouseAdapter.class 675B
Today_List_jTodaytable_mouseAdapter.class 669B
List_All_jTable1_mouseAdapter.class 635B
Not_Forget2.config 32B
Not_Forget2.config~250~ 32B
Not_Forget2.config~251~ 32B
Not_Forget2.config~252~ 32B
Not_Forget2.config~253~ 32B
Not_Forget2.config~254~ 32B
Not_Forget2.config~255~ 32B
Not_Forget2.config~256~ 32B
Not_Forget2.config~257~ 32B
Not_Forget2.config~258~ 32B
Not_Forget2.config~259~ 32B
Thumbs.db 23KB
main_frame.dep2 20KB
new_memoire.dep2 15KB
dboperate.dep2 7KB
list_all.dep2 7KB
today_list.dep2 5KB
awokeOperate.dep2 5KB
read_write_xml.dep2 3KB
system_setting.dep2 2KB
user_help.dep2 2KB
Not_Forget2W.exe 1.54MB
List_All.html 606B
Not_Forget.jar 1.39MB
mainFrame.java 23KB
Edit_Memoire.java 11KB
New_Memoire.java 10KB
List_All.java 10KB
Today_List.java 7KB
ShowFrame.java 5KB
XmlUpdate.java 5KB
xmlConn.java 4KB
writexml.java 4KB
minmizeFrame.java 3KB
xmlOperate.java 2KB
IndexFrame.java 2KB
Memoire_Setting.java 2KB
Help_HandBook.java 2KB
XmlWrite.java 2KB
defaule_show.java 2KB
Edit_Memoire.java~100~ 11KB
Edit_Memoire.java~101~ 11KB
Edit_Memoire.java~102~ 11KB
Edit_Memoire.java~103~ 11KB
Edit_Memoire.java~104~ 11KB
xmlClass.java~10~ 6KB
Forget_List.java~10~ 1KB
Sound_Player.java~10~ 658B
ShowFrame.java~118~ 5KB
mainFrame.java~1194~ 23KB
mainFrame.java~1195~ 23KB
mainFrame.java~1196~ 23KB
mainFrame.java~1197~ 23KB
mainFrame.java~1198~ 23KB
mainFrame.java~1199~ 23KB
ShowFrame.java~119~ 5KB
xmlClass.java~11~ 6KB
Sound_Player.java~11~ 5KB
Forget_List.java~11~ 1KB
mainFrame.java~1200~ 23KB
mainFrame.java~1201~ 23KB
共 345 条
- 1
- 2
- 3
- 4
资源评论
wowoccbbaanaiai
- 粉丝: 0
- 资源: 5
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- OpenGL使用OpenGL实现透明效果
- java房屋租赁系统源码 房屋房源出租管理系统源码数据库 MySQL源码类型 WebForm
- JAVA的Springboot博客网站源码数据库 MySQL源码类型 WebForm
- c++数字雨实现 c++
- 如何制作MC(需要下载海龟编辑器2.0,下载pyglet==1.5.15)
- JAVA的Springboot小区物业管理系统源码数据库 MySQL源码类型 WebForm
- IMG_20241103_153322.jpg
- Screenshot_2024-11-10-20-33-57-639_com.tencent.tmgp.pubgmhd.jpg
- C#商家会员管理系统源码带微信功能数据库 SQL2008源码类型 WebForm
- 3D立体相册源文件code+images
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功