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); }
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: | 434 / 471 |
Version history: | 4 change(s) |
Referenced in: | [show references] |