}
}
//主柜架类:
import java.awt.event.*;
import javawork.bean.SysBean;
import javawork.jdbc.*;
import javax.swing.*;
import java.awt.*;
import java.util.Vector;
public class MainFrame extends JFrame implements ActionListener{
private boolean mode=true;
private JTable tabel=null;
private JPanel south=new JPanel(new FlowLayout(new
FlowLayout().CENTER));
private JPanel north=new JPanel(new FlowLayout(new
FlowLayout().CENTER));
private JLabel begin=new JLabel("从:");
private JLabel beginyear=new JLabel("年");
private JLabel beginmonth=new JLabel("月");
private JLabel beginday=new JLabel("日");
private JLabel end=new JLabel("到:");
private JLabel endyear=new JLabel("年");
private JLabel endmonth=new JLabel("月");
private JLabel endday=new JLabel("日");
private JComboBox beginyearB=new JComboBox();
private JComboBox beginmonthB=new JComboBox();
private JComboBox begindayB=new JComboBox();
private JComboBox endyearB=new JComboBox();
private JComboBox endmonthB=new JComboBox();
private JComboBox enddayB=new JComboBox();
private JButton add=new JButton("添加记录");
private JButton delete=new JButton("删除记录");
private JButton update=new JButton("更新记录");
private JButton cancel=new JButton("退出系统");
private JButton refresh=new JButton("刷新记录");
private JButton select=new JButton("查询记录");
String info[][]=null;
private String[]
field={"ID","spending","epecificSpending","income","epecificIncome","total","jo
urnal","date"};
private String use=null;
public MainFrame(String name){
use=name;
评论4
最新资源