Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

4
LINES

< > BotCompany Repo | #1020870 // makeNonBold

JavaX fragment (include)

1  
static <A extends JComponent> A makeNonBold(final A c) {
2  
  if (c != null) swing { c.setFont(c.getFont().deriveFont(Font.PLAIN)); }
3  
  ret c;
4  
}

Author comment

Began life as a copy of #1007347

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1020870
Snippet name: makeNonBold
Eternal ID of this version: #1020870/1
Text MD5: 1417027bb3111b6ff49dc0f898b2dc3c
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-01-06 16:14:37
Source code size: 144 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 304 / 345
Referenced in: [show references]