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

13
LINES

< > BotCompany Repo | #1016825 // installInternalFrameSwitcher (use v2 instead)

JavaX fragment (include)

lib 1400100 // ComponentSwitcher

import org.swing.enhance.desktop.*;
import org.swing.enhance.keystroke.*;

svoid installInternalFrameSwitcher(final JDesktopPane desktop) {
  swing {
    new DesktopListener desktopListener;
    desktop.addContainerListener(desktopListener);
  
    new SwitchDispatcher<JInternalFrame>(new DesktopSwitcher(desktop), desktopListener).start();
  }
}

Author comment

Began life as a copy of #1016824

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: #1016825
Snippet name: installInternalFrameSwitcher (use v2 instead)
Eternal ID of this version: #1016825/4
Text MD5: d348a6124aa0302c80bcb02e39c6c040
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-08-11 14:23:31
Source code size: 393 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 410 / 475
Version history: 3 change(s)
Referenced in: [show references]