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

15
LINES

< > BotCompany Repo | #1003826 - onDoubleClickOrEnter

JavaX fragment (include)

static JTable onDoubleClickOrEnter(final JTable table, final O runnable) {
  onDoubleClick(table, runnable);
  onEnter(table, runnable);
  ret table;
}

static JList onDoubleClickOrEnter(final JList list, final O runnable) {
  onDoubleClick(list, runnable);
  onEnter(list, runnable);
  ret list;
}

static JTable onDoubleClickOrEnter(O runnable, JTable table) {
  ret onDoubleClickOrEnter(table, runnable);
}

Author comment

Began life as a copy of #1003586

download  show line numbers  debug dex   

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

No comments. add comment

Snippet ID: #1003826
Snippet name: onDoubleClickOrEnter
Eternal ID of this version: #1003826/5
Text MD5: 5d79e09753247bd5d868966061b38ed9
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-05-16 17:43:52
Source code size: 419 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 452 / 437
Version history: 4 change(s)
Referenced in: [show references]

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