OnWorkRecordPane.java~20~
Package: Java.rar [view]
Upload User: liming9091
Upload Date: 2014-10-27
Package Size: 3376k
Code Size: 1k
Category:
Java Develop
Development Platform:
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 OnWorkRecordPane extends RecordPane {
- public OnWorkRecordPane() {
- }
- public void RestoreRecord() {
- String strTmp = jEmployeeIDTextField.getText();
- if(strTmp.trim().length() == 0)
- {
- this.dispose();
- return;
- }
- System.out.println("safsadf");
- item.SetOnworkItem( jEmployeeIDTextField.getText(),
- jEmployeeNameTextField.getText(),
- jDateTimeTextField.getText(),
- jReasonTextField.getText() );
- try {
- database.StoreData( item );
- }
- catch ( Exception e ) {
- e.printStackTrace();
- }
- this.dispose();
- }
- }