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)

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

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: 633 / 656
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1016090 - registerEscape_rootPane - register escape key for a whole root pane
#1016091 - registerEscape_jwindow - register escape key for a whole JWindow