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

6
LINES

< > BotCompany Repo | #1028801 // isComponentOrSwingable

JavaX fragment (include)

1  
sbool isComponentOrSwingable(O o) {
2  
  ifclass Swingable
3  
    if (o instanceof Swingable) true;
4  
  endif
5  
  ret o instanceof Component;
6  
}

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: #1028801
Snippet name: isComponentOrSwingable
Eternal ID of this version: #1028801/2
Text MD5: f4ee4aedd4c4a2f0b2490f471f58df81
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-07-09 10:17:28
Source code size: 138 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 233 / 281
Version history: 1 change(s)
Referenced in: [show references]