java万年历拓展成日志记事?- 百度文库 ر

} }

public int getYear() {

return year; }

public void setYear(int y) { year=y;

notepad.setYear(year); }

public int getMonth()

{

return month; }

public void setMonth(int m) { month=m;

notepad.setMonth(month); }

public int getDay() { return day; }

public void setDay(int d) { day=d;

notepad.setDay(day); }

public Hashtable getHashtable() {

return hashtable; }

public File getFile() { return file;

}

public void mousePressed(MouseEvent e) {

JTextField source=(JTextField)e.getSource(); try{

day=Integer.parseInt(source.getText()); notepad.setDay(day);

notepad.setmessagebar(year,month,day); notepad.ı(null);

notepad.ȡ־(year,month,day); }

catch(Exception ee)