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

12
LINES

< > BotCompany Repo | #1019719 - Test installInternalFrameSwitcher_v3 (OK)

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.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());
}

Author comment

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: 152 / 208
Version history: 2 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1019719 & http://1019719.tinybrain.de