add(UIUtilities.buildComponentPanel(titleLabel)); add(new JSeparator()); bodyPanel = buildContentPanel(); bodyPanel.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5)); add(bodyPanel); add(new JSeparator()); add(builPermissionPanel()); add(UIUtilities.buildComponentPanelRight(buildToolBar()));
JPanel p = new JPanel(); p.setLayout(new BoxLayout(p, BoxLayout.Y_AXIS)); p.add(titleLabel); p.add(finishButton); add(UIUtilities.buildComponentPanel(p),  BorderLayout.NORTH); tabs = new JTabbedPane(); tabs.addTab(PROPERTY, null, buildContentPanel()); tabs.addTab(PERMISSIONS, null, builPermissionPanel()); add(tabs, BorderLayout.CENTER);
    private void buildGUI()    {        setBorder(new EmptyBorder(5, 5, 5, 5));        setLayout(new BoxLayout(this, BoxLayout.Y_AXIS));        setOpaque(true);        add(UIUtilities.buildComponentPanel(titleLabel));        add(new JSeparator());        bodyPanel = buildContentPanel();        bodyPanel.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5));        add(bodyPanel);        add(new JSeparator());        add(builPermissionPanel());        add(UIUtilities.buildComponentPanelRight(buildToolBar()));    }