1 | static <A extends JComponent> A makeBold(final A c) { |
2 | if (c != null) swing { c.setFont(c.getFont().deriveFont(java.awt.Font.BOLD)); } |
3 | ret c; |
4 | } |
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: | 598 / 629 |
Version history: | 2 change(s) |
Referenced in: | [show references] |