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

3
LINES

< > BotCompany Repo | #1004500 // registerEscape - register escape key for a whole JFrame

JavaX fragment (include)

1  
static void registerEscape(JFrame frame, final Runnable r) {
2  
  registerEscape_rootPane(frame.getRootPane(), r);
3  
}

Author comment

Began life as a copy of #1003691

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1004500
Snippet name: registerEscape - register escape key for a whole JFrame
Eternal ID of this version: #1004500/3
Text MD5: 635195420984bb0c6569c1c15808ad9e
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-06 00:14:29
Source code size: 115 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 611 / 635
Version history: 2 change(s)
Referenced in: [show references]