void () { setLayout(new GridBagLayout()); add(myRowIndexControl, new GridBag().anchor(GridBagConstraints.CENTER) .insets(0, ArrangementConstants.HORIZONTAL_PADDING, 0, ArrangementConstants.HORIZONTAL_GAP * 2) ); add(myGroupingTypeToken.getUiComponent(), new GridBag().anchor(GridBagConstraints.WEST).insets(0, 0, 0, 2)); if (myOrderTypeToken != null) { add(myOrderTypeToken.getUiComponent(), new GridBag().anchor(GridBagConstraints.WEST)); } add(new JLabel(" "), new GridBag().weightx(1).fillCellHorizontally()); setBackground(UIUtil.getListBackground()); setBorder(JBUI.Borders.empty(ArrangementConstants.VERTICAL_GAP)); setOpaque(!UIUtil.isUnderIntelliJLaF() && !UIUtil.isUnderNativeMacLookAndFeel() && !StartupUiUtil.isUnderDarcula()); }