static JPanel westCenterAndEast(Component w, Component c, Component e) { JPanel panel = new JPanel(new BorderLayout); panel.add(BorderLayout.WEST, wrap(w)); panel.add(BorderLayout.CENTER, wrap(c)); panel.add(BorderLayout.EAST, wrap(e)); ret panel; }