@Override public void getObject(String id) { IDepartmentBN departmentBN = Lookup.getDefault().lookup(IDepartmentBN.class); Department department = departmentBN.getByObjectId(id); if (department != null) { DepartmentExt_W43 bean = dao.getByObjectId(String.valueOf(department.getId())); tableSB32.setValueAt(bean.getSumMoneyImport(), 0, 1); tableSB32.setValueAt(bean.getSumMoneyExport(), 0, 3); tableSB32.setValueAt(bean.getSumprofit(), 1, 1); tableSB32.setValueAt(bean.getProportionProfit(), 1, 3); tableSB32.setValueAt(" ", 2, 1); tableSB32.setValueAt(" ", 2, 3); } }