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

9
LINES

< > BotCompany Repo | #1034615 // componentMetaSrc - find meta src of component or closest parent

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

Libraryless. Click here for Pure Java version (6186L/34K).

1  
sO componentMetaSrc(Component c) {
2  
  ret swing(-> {
3  
    reMutable c;
4  
    do
5  
      try object getMetaSrc(c);
6  
    while ((c = getParent(c)) != null);
7  
    null;
8  
  });
9  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1034615
Snippet name: componentMetaSrc - find meta src of component or closest parent
Eternal ID of this version: #1034615/3
Text MD5: 4da2f55f3ebb2da439d1dcee9a8b6da5
Transpilation MD5: 30295fb63ced60e0d3a216aebc69b141
Author: stefan
Category: javax / gui / meta
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-02-24 18:03:29
Source code size: 173 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 137 / 194
Version history: 2 change(s)
Referenced in: [show references]