BorderLayoutPanel (@NotNull Icon icon, @NotNull @Nls String message) { BorderLayoutPanel panel = createBaseNotificationPanel(); JBLabel notificationLabel = new JBLabel(); notificationLabel.setIcon(icon); notificationLabel.setVerticalTextPosition(SwingConstants.TOP); notificationLabel.setText(HtmlChunk.html().addText(message).toString()); panel.addToCenter(notificationLabel); return panel; }