class PropertiesBar extends JPanel {

    private final SelectionBar selectionBar;
    private JPanel propertiesBar;

    public PropertiesBar() {
        super(new BorderLayout());
        JPanel leftPanel = new JPanel(new BorderLayout());
        leftPanel.setOpaque(true);
        leftPanel.add(getFullScreenIcon(), BorderLayout.WEST);
        leftPanel.add(selectionBar = new SelectionBar(), BorderLayout.CENTER);
        add(leftPanel, BorderLayout.WEST);
        setOpaque(true);
    }

    public void select(JPanel propertiesBar) {
        this.propertiesBar = propertiesBar;
        propertiesBar.setBorder(BorderFactory.createEmptyBorder(0, 2, 0, 2));
        add(propertiesBar, BorderLayout.CENTER);
        propertiesBar.setOpaque(true);
        for (Component c : propertiesBar.getComponents()) {
            if (c instanceof JPanel || c instanceof JToolBar) {
                ((JComponent) c).setOpaque(true);
            }
        }
        revalidate();
    }

    public void unselect() {
        if (propertiesBar != null) {
            remove(propertiesBar);
            revalidate();
            repaint();
            propertiesBar = null;
        }
    }

    private JComponent getFullScreenIcon() {<FILL_FUNCTION_BODY>}

    @Override
    public void setEnabled(final boolean enabled) {
        SwingUtilities.invokeLater(new Runnable() {

            @Override
            public void run() {
                for (Component c : getComponents()) {
                    c.setEnabled(enabled);
                }
                selectionBar.setEnabled(enabled);
            }
        });

    }
}

        int logoWidth = 27;
        int logoHeight = 28;
        //fullscreen icon size
        if (UIUtils.isAquaLookAndFeel()) {
            logoWidth = 34;
        }
        JPanel c = new JPanel(new BorderLayout());
        c.setBackground(Color.WHITE);
        if (!UIUtils.isAquaLookAndFeel()) {
            JButton fullScreenButton = new JButton();
            fullScreenButton
                .setIcon(ImageUtilities.loadImageIcon("DesktopTools/gephilogo_std.png", false));
            fullScreenButton.setRolloverEnabled(true);
            fullScreenButton
                .setRolloverIcon(ImageUtilities.loadImageIcon("DesktopTools/gephilogo_glow.png", false));
            fullScreenButton
                .setToolTipText(NbBundle.getMessage(PropertiesBar.class, "PropertiesBar.fullScreenButton.tooltip"));
            fullScreenButton.addActionListener(new ActionListener() {

                @Override
                public void actionPerformed(ActionEvent e) {
                    Lookup lookup = Lookups.forPath("org-gephi-desktop-tools/Actions/ToggleFullScreenAction");
                    for (Action a : lookup.lookupAll(Action.class)) {
                        a.actionPerformed(null);
                    }
                }
            });
            fullScreenButton.setBorderPainted(false);
            fullScreenButton.setContentAreaFilled(false);
            fullScreenButton.setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR));
            fullScreenButton.setBorder(BorderFactory.createEmptyBorder());
            fullScreenButton.setPreferredSize(new Dimension(logoWidth, logoHeight));
            c.add(fullScreenButton, BorderLayout.CENTER);
        }

        return c;
    
<methods>public void <init>() ,public void <init>(java.awt.LayoutManager) ,public void <init>(boolean) ,public void <init>(java.awt.LayoutManager, boolean) ,public javax.accessibility.AccessibleContext getAccessibleContext() ,public javax.swing.plaf.PanelUI getUI() ,public java.lang.String getUIClassID() ,public void setUI(javax.swing.plaf.PanelUI) ,public void updateUI() <variables>private static final java.lang.String uiClassID