Download Jar. Libraryless. Click here for Pure Java version (7986L/55K).
1 | !7 |
2 | |
3 | p { |
4 | JDesktopPane desktop = jDesktopPane(); |
5 | final JTextField tfInput = jCenteredTextField(); |
6 | showFrame(northAndCenter(tfInput, desktop)); |
7 | installInternalFrameSwitcher_v3(desktop).shouldSwitch = |
8 | func -> bool { isFocusedComponent(tfInput) }; |
9 | addInternalFrame(desktop, "Test", jTextArea()); |
10 | addInternalFrame(desktop, "Test 2", jTextArea()); |
11 | addInternalFrame(desktop, "Test 3", jTextArea()); |
12 | } |
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: | 381 / 997 |
Version history: | 2 change(s) |
Referenced in: | [show references] |