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

9
LINES

< > BotCompany Repo | #1018262 // internalFrameToFront - bring JInternalFrame to foreground, but don't activate

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

Libraryless. Click here for Pure Java version (10059L/56K).

static void internalFrameToFront(final Component c) {
  swing ctex {
    JInternalFrame f = getInternalFrame(c);
    if (f == null) ret;
    if (!f.isVisible()) f.setVisible(true);
    if (f.isIcon()) f.setIcon(false);
    f.toFront();
  }
}

Author comment

Began life as a copy of #1015944

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1018262
Snippet name: internalFrameToFront - bring JInternalFrame to foreground, but don't activate
Eternal ID of this version: #1018262/5
Text MD5: 2f35484a7bcd39eeee51ca61fa86ad55
Transpilation MD5: 36c6a71dccb183b48e1de90ce86f3c0b
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2023-03-01 19:17:24
Source code size: 249 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 405 / 484
Version history: 4 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1026665 - internalFrameToBack - move JInternalFrame to background (z order)
#1026826 - maximizeInternalFrame