private void loadPlattformar() {
        DefaultListModel<Plattform> dlm = (DefaultListModel<Plattform>) listPlattformar.getModel();

        ArrayList<String> tempal = new ArrayList<>();
        ArrayList<Plattform> al = new ArrayList<>();

        try {
            String query = "select pid from innefattar where sid=" + selectedSpelprojekt;
            tempal = DB.fetchColumn(query);
        } catch (InfException e) {
            e.getMessage();
        }
        //create Plattform objects of the DB query
        if (tempal != null) {
            for (String st : tempal) {
                al.add(new Plattform(Integer.parseInt(st)));
            }
            // add back to the listmodel
            for (Plattform pt : al) {
                dlm.addElement(pt);
            }
        }
    }