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

6
LINES

< > BotCompany Repo | #1014726 // totalPreferredHeight

JavaX fragment (include)

static int totalPreferredHeight(L<Component> l) {
  int h = 0;
  for (Component c : unnull(l))
    h += c.getPreferredSize().height;
  ret h;
}

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: #1014726
Snippet name: totalPreferredHeight
Eternal ID of this version: #1014726/1
Text MD5: a4f1aaccabb0bef520b21e1425b5ba97
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-01 14:24:29
Source code size: 148 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 442 / 437
Referenced in: [show references]