JPanel () { JPanel header = new JPanel(new BorderLayout()); JLabel welcome = new JLabel(IdeBundle.message("label.welcome.to.0", ApplicationNamesInfo.getInstance().getFullProductName()), IconLoader.getIcon(ApplicationInfoEx.getInstanceEx().getApplicationSvgIconUrl(), NewWelcomeScreen.class.getClassLoader()), SwingConstants.LEFT); welcome.setBorder(new EmptyBorder(10, 15, 10, 15)); welcome.setFont(welcome.getFont().deriveFont((float) 32)); welcome.setIconTextGap(20); welcome.setForeground(WelcomeScreenColors.WELCOME_HEADER_FOREGROUND); header.add(welcome); header.setBackground(WelcomeScreenColors.WELCOME_HEADER_BACKGROUND); header.setBorder(new BottomLineBorder()); return header; }