1 | static JLabel jAnimation_liveValueText(fS imageID, final LiveValue<S> text) {
|
2 | ret swing(func -> JLabel {
|
3 | JLabel label = new SmoothLabel(imageIcon(imageID)); |
4 | label.setText(strOrNull(text!)); |
5 | bindJLabelToLiveValue(label, text); |
6 | label.setVerticalTextPosition(SwingConstants.BOTTOM); |
7 | label.setHorizontalTextPosition(SwingConstants.CENTER); |
8 | ret label; |
9 | }); |
10 | } |
Began life as a copy of #1007786
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: | #1016976 |
| Snippet name: | jAnimation_liveValueText |
| Eternal ID of this version: | #1016976/4 |
| Text MD5: | 9cbc7d6bcafd83907aca4a9cccc71979 |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-01-04 00:28:01 |
| Source code size: | 389 bytes / 10 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 886 / 993 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |