package com.suwish.pc;
import javax.swing.UIManager;
import com.suwish.pc.phone.PhoneManager;
import com.suwish.pc.ui.main.MainFrame;
import com.suwish.pc.util.ResourceUtils;
import com.suwish.pc.util.StringUtils;
public class Startup {
public Startup(){}
public void startup() throws Exception{
Setting.initConfiguration();
try{
String lookFeel = Setting.get("lookfeel");
if(!StringUtils.isEmpty(lookFeel)){
UIManager.setLookAndFeel(lookFeel);
}
}catch(Exception ex){}
PhoneManager.getInstance().initEvt();
new MainFrame();
// Class<?> setting = getClass().getClassLoader().loadClass("com.suwish.pc.Setting");
// setting.getMethod("initConfiguration", (Class[])null).invoke(setting, (Object[])null);
// Class<?> clazz = getClass().getClassLoader().loadClass("com.suwish.pc.ui.main.MainFrame");
// clazz.newInstance();
}
}