stmt.setString(1, type);
stmt.setString(2, Common.userList.getUser(getSessionID()).getUserId());
rs = stmt.executeQuery();
while (rs.next())
{
JMenuOption mo = new JMenuOption(getHostID(), getSessionID());
mo.load(rs);
icon = getModuleIcon(rs.getString("icon_filename"), rs.getString("module_type"));
JDBListData mld = new JDBListData(icon, 0, true, mo);
moduleList.addLast(mld);
}
rs.close();