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

7
LINES

< > BotCompany Repo | #1011033 // containerAddFirst

JavaX fragment (include)

1  
static void containerAddFirst(Container c, Component... l) {
2  
  if (c != null) swing {
3  
    for i over l:
4  
      c.add(l[i], i);
5  
    revalidate(c);
6  
  }
7  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1011033
Snippet name: containerAddFirst
Eternal ID of this version: #1011033/4
Text MD5: 3ebcb7cee982fe0bc1aedc47dfa0024e
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-03-07 16:21:20
Source code size: 156 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 547 / 607
Version history: 3 change(s)
Referenced in: [show references]