GlobalValueManager.setApplicationLang(lang);
String firstTime = String.valueOf(System.currentTimeMillis());
GlobalValueManager.setValue("firsttimedate", firstTime);
Resources.LANGUAGE = GlobalValueManager.getApplicationLang();
//set LC to LC XR
DAO dao = DAO.getInstance();
dao.update(Resources.INSERT_XR_SQL);
dao.setObject(1, ObjectUtil.findNewCell(currentRow, "FAMILY", "LC").getColumnValue());
dao.setObject(2, ObjectUtil.findNewCell(currentRow, "FAMILY", "LC").getColumnValue());
dao.setObject(3, 1);
StringBuffer bb = new StringBuffer("1970-01-01 01:01:01");
dao.setObject(4, bb.toString());
dao.setObject(5, 1.0);
dao.setObject(6, 1.0);
dao.setObject(7, 1.0);
dao.setObject(8, bb.toString());
dao.setObject(9, ObjectUtil.findNewCell(currentRow, "FAMILY", "FAMILY").getColumnValue());
dao.setObject(10, bb.toString());
dao.setObject(11, ObjectUtil.findNewCell(currentRow, "FAMILY", "FAMILY").getColumnValue());
dao.executeUpdate();
DialogManager.showMessageDialog(this, sb.toString());
DialogManager.showMessageDialog(this, TxtManager.getTxt("INFORMATION.PLEASELOGIN"));
dispose();
new LoginFrame();
}