JPanel () { JPanel panel = new JPanel(); panel.setLayout(new BoxLayout(panel, BoxLayout.X_AXIS)); panel.setBackground(TipUiSettings.getPanelBackground()); panel.add(Box.createHorizontalGlue()); JLabel label = new JLabel(IdeBundle.message("tip.of.the.day.feedback.question")); panel.add(label); panel.add(Box.createRigidArea(new JBDimension(8, 0))); myFeedbackToolbar = createFeedbackActionsToolbar(); panel.add(myFeedbackToolbar); return panel; }