Download Jar. Libraryless. Click here for Pure Java version (7986L/55K).
!7 p { JDesktopPane desktop = jDesktopPane(); final JTextField tfInput = jCenteredTextField(); showFrame(northAndCenter(tfInput, desktop)); installInternalFrameSwitcher_v3(desktop).shouldSwitch = func -> bool { isFocusedComponent(tfInput) }; addInternalFrame(desktop, "Test", jTextArea()); addInternalFrame(desktop, "Test 2", jTextArea()); addInternalFrame(desktop, "Test 3", jTextArea()); }
Began life as a copy of #1016949
download show line numbers debug dex old transpilations
Travelled to 11 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1019719 |
| Snippet name: | Test installInternalFrameSwitcher_v3 (OK) |
| Eternal ID of this version: | #1019719/3 |
| Text MD5: | 5b6b0b25de807992b50dedf7302458a3 |
| Transpilation MD5: | 030b98fad75dfb8a33b8816780e3a773 |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX source code (desktop) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-11-23 20:58:00 |
| Source code size: | 421 bytes / 12 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 644 / 1636 |
| Version history: | 2 change(s) |
| Referenced in: | #1029923 - Test installInternalFrameSwitcher_v3 with InstaSwitch (now default) |