static <A extends JComponent> A makeBold(final A c) { if (c != null) swing { c.setFont(c.getFont().deriveFont(java.awt.Font.BOLD)); } ret c; }
Began life as a copy of #1007012
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, elmgxqgtpvxh, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1007347 |
Snippet name: | makeBold |
Eternal ID of this version: | #1007347/3 |
Text MD5: | f95a5197e693184219b04e0770c38932 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-12-19 13:41:31 |
Source code size: | 149 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 597 / 627 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1011142 - jbold - synonym of makeBold - make JComponent bold #1020383 - fontSizePlus - increase JComponent's font size #1020870 - makeNonBold #1021127 - makeBold_textField |