1 | static void swing_standardTabBehavior(KeyEvent key) { |
2 | if ((key.getModifiers() & ActionEvent.SHIFT_MASK) != 0) |
3 | KeyboardFocusManager.getCurrentKeyboardFocusManager().focusPreviousComponent(); |
4 | else |
5 | KeyboardFocusManager.getCurrentKeyboardFocusManager().focusNextComponent(); |
6 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1012957 |
Snippet name: | swing_standardTabBehavior - for components that handle tab events |
Eternal ID of this version: | #1012957/3 |
Text MD5: | 8eb79a71cd858d6599a7e558d3fd521d |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-12-18 21:53:32 |
Source code size: | 291 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 446 / 477 |
Version history: | 2 change(s) |
Referenced in: | [show references] |