static JPanel jCenteredSection(Component c) { ret jCenteredSection("", c); } static JPanel jCenteredSection(fS title, final Component c) { ret swing(func -> JPanel { JPanel p = jSection(title, c); p.setTitleJustification(TitledBorder.CENTER); ret p; }); } static JPanel jCenteredSection(S title) { ret jCenteredSection(title, jpanel()); }