static JInternalFrame getInternalFrame(fO _o) { ret _o == null ? null : swing(func -> JInternalFrame { O o = _o; if (o instanceof ButtonGroup) o = first(buttonsInGroup((ButtonGroup) o)); if (!(o instanceof Component)) null; Component c = (Component) o; while (c != null) { if (c instanceof JInternalFrame) return (JInternalFrame) c; c = c.getParent(); } null; }); }
Began life as a copy of #1001428
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1011112 |
Snippet name: | getInternalFrame (get internal frame containing Swing component) |
Eternal ID of this version: | #1011112/3 |
Text MD5: | 0acc0f0075b35486702885a4b9739df7 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-11-15 03:21:06 |
Source code size: | 421 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 626 / 729 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |