static <A extends JComponent> A setFont(final Font font, final A a) { if (a != null) swing { a.setFont(font); } ret a; } static <A extends JComponent> A setFont(A a, Font font) { ret setFont(font, a); } static <A extends JComponent> A setFont(final S fontID, float fontSize, final A a) { ret setFont(loadFont_cached(fontID, fontSize), a); }
Began life as a copy of #1007197
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: | #1007382 |
| Snippet name: | setFont |
| Eternal ID of this version: | #1007382/6 |
| Text MD5: | 45f7356f756f9d0a4a9c62dfab793f16 |
| 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 22:59:37 |
| Source code size: | 361 bytes / 12 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 991 / 993 |
| Version history: | 5 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |