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

4
LINES

< > BotCompany Repo | #1020870 // makeNonBold

JavaX fragment (include)

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

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: 302 / 342
Referenced in: [show references]