static JPanel singleColorPanel(final Color color) { ret swing(func -> JPanel { new JPanel p; p.setOpaque(true); p.setBackground(color); ret p; }); }