OffWorkRecordPane.java~6~
资源名称:Java.rar [点击查看]
上传用户:liming9091
上传日期:2014-10-27
资源大小:3376k
文件大小:1k
源码类别:
Java编程
开发平台:
Java
- package manpowersystem;
- /**
- * <p>Title: </p>
- * <p>Description: </p>
- * <p>Copyright: Copyright (c) 2003</p>
- * <p>Company: </p>
- * @author not attributable
- * @version 1.0
- */
- public class OffWorkRecordPane extends RecordPane {
- public OffWorkRecordPane() {
- }
- public void RestoreRecord() {
- String strTmp = jEmployeeIDTextField.getText();
- if ( strTmp.trim().length() == 0 ) {
- this.dispose();
- return;
- }
- item.SetOffworkItem( jEmployeeIDTextField.getText(),
- jEmployeeNameTextField.getText(),
- jDateTimeTextField.getText(),
- jReasonTextField.getText() );
- try {
- database.StoreData( item );
- }
- catch ( Exception e ) {
- e.printStackTrace();
- }
- this.dispose();
- }
- }