/*
* MemberModifyInterFrm.java
*
* Created on __DATE__, __TIME__
*/
package com.money.view;
import java.util.Vector;
import javax.swing.JOptionPane;
import javax.swing.table.DefaultTableModel;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import com.money.dao.LogDAO;
import com.money.model.Member;
import com.money.service.MemberService;
import com.money.util.StringUtil;
/**
*
* @author __USER__
*/
public class MemberModifyInterFrm extends javax.swing.JInternalFrame {
ClassPathXmlApplicationContext ctx = new ClassPathXmlApplicationContext(
"beans.xml");
MemberService memberService = (MemberService) ctx.getBean("memberService");
LogDAO logDao = (LogDAO) ctx.getBean("logDAO");
/** Creates new form MemberModifyInterFrm */
public MemberModifyInterFrm() {
initComponents();
this.setLocation(320, 100);
this.fillTable();
}
/** This method is called from within the constructor to
* initialize the form.
* WARNING: Do NOT modify this code. The content of this method is
* always regenerated by the Form Editor.
*/
//GEN-BEGIN:initComponents
// <editor-fold defaultstate="collapsed" desc="Generated Code">
private void initComponents() {
jLabel1 = new javax.swing.JLabel();
jScrollPane1 = new javax.swing.JScrollPane();
j_MemberListTable = new javax.swing.JTable();
jPanel1 = new javax.swing.JPanel();
jLabel2 = new javax.swing.JLabel();
jLabel3 = new javax.swing.JLabel();
jLabel4 = new javax.swing.JLabel();
jLabel5 = new javax.swing.JLabel();
jLabel6 = new javax.swing.JLabel();
jLabel7 = new javax.swing.JLabel();
jLabel8 = new javax.swing.JLabel();
jLabel9 = new javax.swing.JLabel();
j_MemberModifyID = new javax.swing.JTextField();
j_MemberModifyName = new javax.swing.JTextField();
j_MemberModifyAge = new javax.swing.JTextField();
j_MemberModifySex = new javax.swing.JTextField();
j_MemberModifyNumber = new javax.swing.JTextField();
j_MemberModifyPhone = new javax.swing.JTextField();
j_MemberModifyAddress = new javax.swing.JTextField();
j_MemberModifyJob = new javax.swing.JTextField();
jb_MemberModifyOK = new javax.swing.JButton();
jb_MemberModifyReset = new javax.swing.JButton();
jb_MemberModifyDel = new javax.swing.JButton();
setClosable(true);
setMaximizable(true);
setResizable(true);
setTitle("\u961f\u5458\u7ba1\u7406");
jLabel1.setText("\u961f\u5458\u5217\u8868");
j_MemberListTable.setModel(new javax.swing.table.DefaultTableModel(
new Object[][] {
}, new String[] { "序号", "姓名", "号码", "电话" }) {
boolean[] canEdit = new boolean[] { false, false, false, false };
public boolean isCellEditable(int rowIndex, int columnIndex) {
return canEdit[columnIndex];
}
});
j_MemberListTable.addMouseListener(new java.awt.event.MouseAdapter() {
public void mousePressed(java.awt.event.MouseEvent evt) {
j_MemberListTableMousePressed(evt);
}
});
jScrollPane1.setViewportView(j_MemberListTable);
jPanel1.setBorder(javax.swing.BorderFactory.createTitledBorder(
javax.swing.BorderFactory.createCompoundBorder(
javax.swing.BorderFactory
.createBevelBorder(javax.swing.border.BevelBorder.RAISED),
new javax.swing.border.MatteBorder(null)),
"\u961f\u5458\u4fe1\u606f\u4fee\u6539"));
jLabel2.setText("\u5e8f\u53f7\uff1a");
jLabel3.setText("\u59d3\u540d\uff1a");
jLabel4.setText("\u5e74\u9f84\uff1a");
jLabel5.setText("\u6027\u522b\uff1a");
jLabel6.setText("\u53f7\u7801\uff1a");
jLabel7.setText("\u7535\u8bdd\uff1a");
jLabel8.setText("\u4f4f\u5740\uff1a");
jLabel9.setText("\u5de5\u4f5c\u5355\u4f4d\uff1a");
j_MemberModifyID.setEditable(false);
jb_MemberModifyOK.setText("\u786e\u5b9a");
jb_MemberModifyOK
.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jb_MemberModifyOKActionPerformed(evt);
}
});
jb_MemberModifyReset.setText("\u91cd\u7f6e");
jb_MemberModifyReset
.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jb_MemberModifyResetActionPerformed(evt);
}
});
jb_MemberModifyDel.setText("\u5220\u9664");
jb_MemberModifyDel.setActionCommand("jButton1");
jb_MemberModifyDel.setEnabled(false);
jb_MemberModifyDel
.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jb_MemberModifyDelActionPerformed(evt);
}
});
javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(
jPanel1);
jPanel1.setLayout(jPanel1Layout);
jPanel1Layout
.setHorizontalGroup(jPanel1Layout
.createParallelGroup(
javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(
javax.swing.GroupLayout.Alignment.TRAILING,
jPanel1Layout
.createSequentialGroup()
.addGroup(
jPanel1Layout
.createParallelGroup(
javax.swing.GroupLayout.Alignment.TRAILING)
.addGroup(
javax.swing.GroupLayout.Alignment.LEADING,
jPanel1Layout
.createSequentialGroup()
.addGap(78,
78,
78)
.addComponent(
jb_MemberModifyOK)
.addGap(48,
48,
48)
.addComponent(
jb_MemberModifyDel)
.addPreferredGap(
javax.swing.LayoutStyle.ComponentPlacement.RELATED,
49,
Short.MAX_VALUE)
.addComponent(
jb_MemberModifyReset))
.addGroup(
javax.swing.GroupLayout.Alignment.LEADING,
jPanel1Layout
.createSequentialGroup()
.addGap(39,
39,
39)
.addGroup(
jPanel1Layout
.createParallelGroup(
javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(
jPanel1Layout
.createSequentialGroup()
.addGroup(
jPanel1Layout
.createParallelGroup(
javax.swing.GroupLayout.Alignment.TRAILING)
.addGroup(
jPanel1Layout
.createParallelGroup(
javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(
jLabel2)
.addComponent(
jLabel5))
.addComponent(
jLabel7))
.addPreferredGap(
javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(
jPanel1Layout
.createParallelGroup(
javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(
jPanel1Layout
.createSequentialGroup()
.addGroup(
jPanel1Layout
.createParallelGroup(
javax.swing.GroupLayout.Alignment.LEADING,
false)
没有合适的资源?快使用搜索试试~ 我知道了~
松散AA制团体记帐软件(源码)
共121个文件
class:57个
java:28个
form:18个
3星 · 超过75%的资源 需积分: 10 14 下载量 12 浏览量
2013-06-20
08:18:58
上传
评论 1
收藏 2.66MB ZIP 举报
温馨提示
为我参加的足球队设计构台,大家都交钱,但参与活动不一致,不好记帐。基于谁参与,谁分担花费的原则设计,比如每人一次交100元,这次有5个人花了40,则分别从这5个人的帐户中扣除8元,其他人则不分担费用。为方便起见,数据库采用的是ACCESS。
资源推荐
资源详情
资源评论
收起资源包目录
松散AA制团体记帐软件(源码) (121个子文件)
MemberModifyInterFrm.class 13KB
TotalAccountAddFrm.class 12KB
AccountRechargeFrm.class 11KB
TotalAccountSumFrm.class 10KB
AccountDetailFrm.class 9KB
MemberAddInterFrm.class 8KB
MainFrame.class 7KB
MemberAccountDaoImpl.class 3KB
AccountService.class 3KB
MemberAccount.class 3KB
Member.class 3KB
TotalAccountService.class 3KB
MemberService.class 3KB
AboutMoney.class 3KB
MemberDAOImpl.class 2KB
About.class 2KB
TotalAccount.class 2KB
TotalAccountDAOImpl.class 2KB
Log.class 1KB
StringUtil.class 1KB
LogInterceptor.class 980B
LogDAOImpl.class 953B
MemberModifyInterFrm$1.class 939B
AccountRechargeFrm$1.class 927B
MemberModifyInterFrm$4.class 857B
MemberModifyInterFrm$3.class 857B
MemberModifyInterFrm$5.class 857B
TotalAccountSumFrm$3.class 843B
AccountRechargeFrm$3.class 843B
TotalAccountAddFrm$4.class 843B
AccountRechargeFrm$4.class 843B
TotalAccountAddFrm$3.class 843B
TotalAccountSumFrm$1.class 843B
MemberAddInterFrm$1.class 836B
MemberAddInterFrm$2.class 836B
MemberModifyInterFrm$2.class 825B
About$1.class 815B
AccountRechargeFrm$2.class 811B
TotalAccountAddFrm$1.class 811B
TotalAccountAddFrm$2.class 811B
TotalAccountSumFrm$2.class 811B
AccountDetailFrm$1.class 797B
test.class 784B
MainFrame$5.class 780B
MainFrame$6.class 780B
MainFrame$7.class 780B
MainFrame$3.class 780B
MainFrame$1.class 780B
MainFrame$4.class 780B
MainFrame$2.class 780B
About$1$1.class 695B
SuperDAO.class 689B
MemberAccountDAO.class 572B
MainFrame$8.class 555B
MemberDAO.class 350B
TotalAccountDAO.class 323B
LogDAO.class 149B
.classpath 2KB
MemberModifyInterFrm.form 18KB
MemberModifyInterFrm.form 18KB
MemberAddInterFrm.form 12KB
MemberAddInterFrm.form 12KB
AccountRechargeFrm.form 12KB
AccountRechargeFrm.form 12KB
TotalAccountAddFrm.form 11KB
TotalAccountAddFrm.form 11KB
AccountDetailFrm.form 8KB
AccountDetailFrm.form 8KB
TotalAccountSumFrm.form 8KB
TotalAccountSumFrm.form 8KB
MainFrame.form 7KB
MainFrame.form 7KB
AboutMoney.form 3KB
AboutMoney.form 3KB
About.form 2KB
About.form 2KB
Access_JDBC30.jar 2.55MB
swing-layout-1.0.3.jar 115KB
hibernate.jar 11KB
AbsoluteLayout.jar 3KB
MemberModifyInterFrm.java 22KB
TotalAccountAddFrm.java 15KB
AccountRechargeFrm.java 15KB
MemberAddInterFrm.java 15KB
TotalAccountSumFrm.java 10KB
AccountDetailFrm.java 10KB
MainFrame.java 7KB
Member.java 3KB
AboutMoney.java 2KB
MemberAccount.java 2KB
AccountService.java 2KB
MemberAccountDaoImpl.java 2KB
MemberService.java 2KB
TotalAccountService.java 2KB
About.java 2KB
MemberDAOImpl.java 1KB
TotalAccount.java 1KB
Log.java 1KB
StringUtil.java 1010B
TotalAccountDAOImpl.java 1001B
共 121 条
- 1
- 2
资源评论
- wuxunmba2014-07-27不知道怎么安装,用不了啊
- nullpointerexceptio_2014-05-11代码是txt格式的,还乱码了。不知道怎么弄,是不是得吧txt格式转换成java格式啊
- aix52014-12-16没有说明,不知道怎么用
foxbamboo
- 粉丝: 12
- 资源: 4
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功