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

6
LINES

< > BotCompany Repo | #1007199 // standardLabelPopupMenu

JavaX fragment (include)

1  
static JLabel standardLabelPopupMenu(final JLabel l) {
2  
  componentPopupMenuItem(l, "Copy text to clipboard", r {
3  
    copyTextToClipboard(l.getText())
4  
  });
5  
  ret l;
6  
}

Author comment

Began life as a copy of #1004434

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: #1007199
Snippet name: standardLabelPopupMenu
Eternal ID of this version: #1007199/3
Text MD5: 856981930b9ca452e171a7102c99d765
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-07-01 19:53:11
Source code size: 171 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 554 / 619
Version history: 2 change(s)
Referenced in: [show references]