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

6
LINES

< > BotCompany Repo | #1007012 // makeLabelBold

JavaX fragment (include)

static JLabel makeLabelBold(JLabel l) {
  if (l != null) swing {
    l.setFont(l.getFont().deriveFont(Font.BOLD));
  }
  ret l;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1007012
Snippet name: makeLabelBold
Eternal ID of this version: #1007012/3
Text MD5: 167a73c6281a362b2c4915721c3d68bf
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-03-30 19:12:45
Source code size: 134 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 438 / 463
Version history: 2 change(s)
Referenced in: [show references]