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

8
LINES

< > BotCompany Repo | #1036212 // fontSizes

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (9257L/51K).

1  
static <A extends JComponent> L<A> fontSizes(L<? extends Number> fontSizes, L<A> l) {
2  
  for i over l: {
3  
    Number fontSize = get(fontSizes, i);
4  
    if (fontSize != null)
5  
      fontSize(toFloat(fontSize), l.get(i));
6  
  }
7  
  ret l;
8  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): mqqgnosmbjvj, wnsclhtenguj

No comments. add comment

Snippet ID: #1036212
Snippet name: fontSizes
Eternal ID of this version: #1036212/2
Text MD5: 716c434c56e28cbe05d83d73eb8be59d
Transpilation MD5: 27f251ce4b668a0cbff4722a6da55695
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-10-21 21:34:19
Source code size: 237 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 140 / 187
Version history: 1 change(s)
Referenced in: [show references]