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

9
LINES

< > BotCompany Repo | #1015584 // fontSizeAll - set font size for all components

JavaX fragment (include)

static <A extends JComponent> A fontSizeAll(int size, A a) {
  for (JComponent c : childrenOfType(a, JComponent))
    fontSize(size, c);
  ret a;
}

static <A extends JComponent> A fontSizeAll(A a, int size) {
  ret fontSizeAll(size, a);
}

Author comment

Began life as a copy of #1010316

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1015584
Snippet name: fontSizeAll - set font size for all components
Eternal ID of this version: #1015584/5
Text MD5: 6db6356e86e11a415c08b9412124bcb9
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-18 12:30:39
Source code size: 247 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 293 / 335
Version history: 4 change(s)
Referenced in: [show references]