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).

static <A extends JComponent> L<A> fontSizes(L<? extends Number> fontSizes, L<A> l) {
  for i over l: {
    Number fontSize = get(fontSizes, i);
    if (fontSize != null)
      fontSize(toFloat(fontSize), l.get(i));
  }
  ret l;
}

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: 139 / 186
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)