static JLabel setImage(final BufferedImage img, final JLabel lbl) { if (lbl != null) swing { lbl.setIcon(imageIcon(img)); } ret lbl; } static JLabel setImage(JLabel lbl, BufferedImage img) { ret setImage(img, lbl); } static JLabel setImage(final S imageID, final JLabel lbl) { if (lbl != null) swing { lbl.setIcon(imageIcon(imageID)); } ret lbl; } static JLabel setImage(JLabel lbl, S imageID) { ret setImage(imageID, lbl); } ifclass ImageSurface static A setImage(A is, BufferedImage img) { is?.setImage(img); ret is; } endif