static JLabel jAnimation(S imageID) { ret jAnimation(imageID, ""); } static JLabel jAnimation(fS imageID, fS text) { ret swing(func -> JLabel { JLabel label = new SmoothLabel(imageIcon(imageID)); label.setText(text); label.setVerticalTextPosition(SwingConstants.BOTTOM); label.setHorizontalTextPosition(SwingConstants.CENTER); ret label; }); }