SameHeightPanel (final JComponent component, final JComponent original) { final SameHeightPanel panel = new SameHeightPanel(new BorderLayout(), original); panel.add(component, BorderLayout.CENTER); return panel; }