private String getSlotContents(int par, int chi) {
        String scLine = "";
        int[] contents = c.widgets.get(par, chi).getSlotContents();
        if (contents != null) {
            for (int i = 0; i < contents.length; i++) {
                scLine = scLine + contents[i];
                if (i < contents.length - 1) {
                    scLine = scLine + ", ";
                }
            }
        }
        return scLine;
    }