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

5
LINES

< > BotCompany Repo | #1020997 // onClickAndPopupItem

JavaX fragment (include)

static <A extends JComponent> A onClickAndPopupItem(A component, fS name, fO action) {
  componentPopupMenuItem(component, name, action);
  onLeftClick(component, action);
  ret component;
}

Author comment

Began life as a copy of #1015112

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1020997
Snippet name: onClickAndPopupItem
Eternal ID of this version: #1020997/4
Text MD5: e2dae8893de5fbffc811262e5e842ec1
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-01-16 00:41:37
Source code size: 194 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 309 / 354
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)