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

5
LINES

< > BotCompany Repo | #1025314 // stefansOS_moduleIsPoppedOut - is it in separate JFrame

JavaX fragment (include)

1  
sbool stefansOS_moduleIsPoppedOut(Module m) {
2  
  final JInternalFrame myFrame = cast getPossiblyInternalFrame(m.vis);
3  
  if (myFrame == null) false;
4  
  ret getParent(myFrame) != main.desktop;
5  
}

Author comment

Began life as a copy of #1020195

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1025314
Snippet name: stefansOS_moduleIsPoppedOut - is it in separate JFrame
Eternal ID of this version: #1025314/2
Text MD5: 7205745267561f40e9c33c9b1022434f
Author: stefan
Category: javax / stefan's os
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-09-21 22:09:04
Source code size: 194 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 326 / 317
Version history: 1 change(s)
Referenced in: [show references]