JPanel () { int offset = PluginManagerConfigurable.offset5(); JPanel centerPanel = new NonOpaquePanel(new VerticalLayout(offset)); myNameAndButtons.setYOffset(JBUIScale.scale(3)); myNameAndButtons.add(myNameComponent); createButtons(); centerPanel.add(myNameAndButtons, VerticalLayout.FILL_HORIZONTAL); if (!myMarketplace) { myErrorComponent = new ErrorComponent(); centerPanel.add(myErrorComponent, VerticalLayout.FILL_HORIZONTAL); } createMetricsPanel(centerPanel); return centerPanel; }