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; }); }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1007786 |
| Snippet name: | jAnimation |
| Eternal ID of this version: | #1007786/5 |
| Text MD5: | 5f134ce34b0b75c3c9280345cf9b7fb6 |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-06-11 15:56:19 |
| Source code size: | 382 bytes / 13 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 968 / 939 |
| Version history: | 4 change(s) |
| Referenced in: | [show references] |