1 | static <A extends JLabel> A centerLabel(A l) {
|
2 | if (l != null) l.setHorizontalAlignment(SwingConstants.CENTER); |
3 | ret l; |
4 | } |
Began life as a copy of #1007122
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1007198 |
| Snippet name: | centerLabel |
| Eternal ID of this version: | #1007198/2 |
| Text MD5: | 32ff3def4c6358b51edb0ef923c44d33 |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-10-15 23:19:13 |
| Source code size: | 126 bytes / 4 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 1193 / 1197 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |