Download Jar. Uses 0K of libraries. Click here for Pure Java version (4947L/34K).
!7 lib 1400100 // ComponentSwitcher import org.swing.enhance.desktop.*; import org.swing.enhance.keystroke.*; p { JDesktopPane desktop = jDesktopPane(); showFrame(desktop); new DesktopListener desktopListener; desktop.addContainerListener(desktopListener); SwitchDispatcher<JInternalFrame> switchDispatcher = new(new DesktopSwitcher(desktop), desktopListener); switchDispatcher.start(); showInternalFrame(desktop, "bla", jlabel("bla")); showInternalFrame(desktop, "bla2", jlabel("bla2")); showInternalFrame(desktop, "bla3", jTextArea()); }
Began life as a copy of #1016822
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: | #1016824 |
Snippet name: | Test ComponentSwitcher (Ctrl+Tab), OK |
Eternal ID of this version: | #1016824/8 |
Text MD5: | b4ff998477eb28f42915e66abf18e6b2 |
Transpilation MD5: | cc829a94629499254fca82a7da44bc1a |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-07-03 15:54:08 |
Source code size: | 592 bytes / 22 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 443 / 1004 |
Version history: | 7 change(s) |
Referenced in: | [show references] |