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

5
LINES

< > BotCompany Repo | #1016369 // getPossiblyInternalFrame - get enclosing JInternalFrame, JFrame or JWindow

JavaX fragment (include)

static RootPaneContainer getPossiblyInternalFrame(Component c) {
  JInternalFrame f = getInternalFrame(c);
  if (f != null) ret f;
  ret optCast(RootPaneContainer.class, getWindow(c));
}

Author comment

Began life as a copy of #1016368

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1016369
Snippet name: getPossiblyInternalFrame - get enclosing JInternalFrame, JFrame or JWindow
Eternal ID of this version: #1016369/6
Text MD5: 4342d76c1271cd82e0c3434458dda1fd
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-10 14:24:00
Source code size: 190 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 489 / 514
Version history: 5 change(s)
Referenced in: [show references]