1 | static <A extends JComponent> A fontSizeAll(int size, A a) {
|
2 | for (JComponent c : childrenOfType(a, JComponent)) |
3 | fontSize(size, c); |
4 | ret a; |
5 | } |
6 | |
7 | static <A extends JComponent> A fontSizeAll(A a, int size) {
|
8 | ret fontSizeAll(size, a); |
9 | } |
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: | 696 / 736 |
| Version history: | 4 change(s) |
| Referenced in: | [show references] |