void (@NotNull DiffContentLayoutPanel contentPanel, @NotNull JComponent title, @NotNull JComponent topBreadcrumbs, @NotNull JComponent content, @NotNull JComponent bottomBreadcrumbs) { // component order matters for CWM contentPanel.removeAll(); contentPanel.setLayout(new DiffContentLayout(title, topBreadcrumbs, content, bottomBreadcrumbs)); contentPanel.add(title); contentPanel.add(topBreadcrumbs); contentPanel.add(content); contentPanel.add(bottomBreadcrumbs); }