JComponent () { myBottomPanel = new JPanel(new FlowLayout(FlowLayout.LEFT)); JLabel iconLabel = new JLabel(); iconLabel.setIcon(AllIcons.General.Warning); myBottomPanel.add(iconLabel); myBottomPanel.add(Box.createRigidArea(new JBDimension(5,0))); myBottomLabel = new JLabel(); myBottomPanel.add(myBottomLabel); ActionLink disableHyperLink = new ActionLink(LangBundle.message("action.link.disable"), e -> { disableOverriding(); }); myBottomPanel.add(disableHyperLink); myBottomPanel.setVisible(false); return myBottomPanel; }