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

6
LINES

< > BotCompany Repo | #1027347 // componentsInFrontOf

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

Libraryless. Click here for Pure Java version (2416L/15K).

static L<Component> componentsInFrontOf(Component c) {
  Container container = getParent(c);
  L<Component> components = getChildren(container);
  int idx = indexOf(components, c);
  ret takeFirst(components, idx);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1027347
Snippet name: componentsInFrontOf
Eternal ID of this version: #1027347/2
Text MD5: 6efe57039892a87bc5428f260394799e
Transpilation MD5: db3298fd847b29a21dbf7a331d8895f7
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-03-11 11:38:29
Source code size: 221 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 86 / 140
Version history: 1 change(s)
Referenced in: [show references]