if (ltype_to.equals("") == false)
{
ltype_to = ltype_to.toUpperCase();
JDBMaterialType u = new JDBMaterialType(Common.selectedHostID, Common.sessionID);
u.setType(ltype_from);
if (u.renameTo(ltype_to) == false)
{
JUtility.errorBeep();
JOptionPane.showMessageDialog(Common.mainForm, u.getErrorMessage(), lang.get("dlg_Error"), JOptionPane.ERROR_MESSAGE,Common.icon_confirm);
}
populateList(ltype_to);