setLayout(new BoxLayout(this, BoxLayout.Y_AXIS));
setLayout(new BorderLayout());
    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()));    }