资 源 简 介
资源描述package com.sanqing;
import java.awt.Dimension;
import java.awt.Toolkit;
import javax.swing.SwingUtilities;
import javax.swing.UIManager;
import com.sanqing.frame.IndexFrame;
import com.sanqing.frame.LandFrame;
import com.sanqing.hibernate.Dao;
public class PersonnelManage {
boolean packFrame = false;
public PersonnelManage() {
SwingUtilities.invokeLater(new Runnable() {
public void run() {
try {
UIManager.setLookAndFeel(UIManager
.getSystemLookAndFeelClassName());
} catch (Exception exception) {
exception.printStackTrace();
}
land();
}
});
}
public void land() {
LandFrame frame = new LandFrame();
if (packFrame) {
frame.pack();
} else {
frame.validate();