private static void addEastComponentToContentPane(JPanel contentPane, JComponent component) {
    contentPane.add(component, BorderLayout.EAST);
  }
private static void addEastComponentToContentPane(JPanel contentPane, JComponent component)