JPanel () { JLabel versionLabel = new JLabel(IdeBundle.message("label.version.0.1.build.2", ApplicationNamesInfo.getInstance().getFullProductName(), ApplicationInfo.getInstance().getFullVersion(), ApplicationInfo.getInstance().getBuild().asStringWithoutProductCode())); makeSmallFont(versionLabel); versionLabel.setForeground(WelcomeScreenColors.FOOTER_FOREGROUND); JPanel footerPanel = new JPanel(new FlowLayout(FlowLayout.LEFT, 0, 0)); footerPanel.setBackground(WelcomeScreenColors.FOOTER_BACKGROUND); footerPanel.setBorder(new EmptyBorder(2, 5, 2, 5) { @Override public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { g.setColor(WelcomeScreenColors.BORDER_COLOR); g.drawLine(x, y, x + width, y); } }); footerPanel.add(versionLabel); footerPanel.add(makeSmallFont(new JLabel(". "))); footerPanel.add(makeSmallFont(new ActionLink(IdeBundle.message("link.check"), e -> { UpdateChecker.updateAndShowResult(null); }))); footerPanel.add(makeSmallFont(new JLabel(IdeBundle.message("welcome.screen.check.for.updates.comment")))); return footerPanel; }