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

9
LINES

< > BotCompany Repo | #1015944 // activateInternalFrame - bring JInternalFrame to foreground

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (4741L/27K).

1  
static void activateInternalFrame(final Component c) {
2  
  swing(r {
3  
    JInternalFrame f = getInternalFrame(c);
4  
    if (f == null) ret;
5  
    if (!f.isVisible()) f.setVisible(true);
6  
    if (f.isIcon()) f.setIcon(false);
7  
    f.setSelected(true);
8  
  });
9  
}

Author comment

Began life as a copy of #1007342

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1015944
Snippet name: activateInternalFrame - bring JInternalFrame to foreground
Eternal ID of this version: #1015944/4
Text MD5: f4f31cbe6ccd09a4ee20b9c8c096cc25
Transpilation MD5: 5a19319c3fb6cae7cc5ad5becf5adc31
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-01-19 16:41:21
Source code size: 257 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 470 / 563
Version history: 3 change(s)
Referenced in: [show references]