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

6
LINES

< > BotCompany Repo | #1028801 // isComponentOrSwingable

JavaX fragment (include)

sbool isComponentOrSwingable(O o) {
  ifclass Swingable
    if (o instanceof Swingable) true;
  endif
  ret o instanceof Component;
}

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: 231 / 279
Version history: 1 change(s)
Referenced in: [show references]