private MainForm() {
//logger = Logger.getLogger(MainForm.class);
context = new ClassPathXmlApplicationContext("applicationContext.xml");
//configuration = (SmsConfiguration) context.getBean("smsConfiguration");
AppSettingService settingService = (AppSettingServiceImpl) context.getBean("appSettingService");
incomingService = (IncomingServiceImpl) context.getBean("incomingService");
configuration = settingService.getSetting();
gateway = new SerialModemGateway(configuration.getModemName(), configuration.getComPort(),
configuration.getBaudRate(), configuration.getManufacturer(), configuration.getModel());
factory = new StdSchedulerFactory();
startButton.addActionListener(new ActionListener() {