private void buildGUI(Map details, Set groups)
private void buildGUI(Map details, boolean permission)
    private void buildGUI(Map details, Set groups)    {        groupPanel = new JPanel();        groupPanel.setLayout(new BoxLayout(groupPanel, BoxLayout.Y_AXIS));        groupPanel.setBorder(BorderFactory.createEmptyBorder(0, 10, 0, 10));        JPanel contentPanel = buildContentPanel(details, groups);        setLayout(new BorderLayout());        setMaximumSize(contentPanel.getPreferredSize());        setBorder(new EtchedBorder());        add(contentPanel, BorderLayout.NORTH);        if (model.getObjectPermissions() != null) {            JPanel p = new JPanel();            p.setLayout(new BoxLayout(p, BoxLayout.Y_AXIS));            p.setBorder(BorderFactory.createEmptyBorder(0, 10, 0, 10));            p.add(new JSeparator());            p.add(Box.createRigidArea(EditorUI.SMALL_V_SPACER_SIZE));            p.add(buildPermissions(model.getObjectPermissions()));            p.add(Box.createVerticalGlue());            add(p);        }        //add(groupPanel, BorderLayout.CENTER);    }