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

11
LINES

< > BotCompany Repo | #1030749 // addScrollingSubMenu

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (4778L/29K).

1  
svoid addScrollingSubMenu(JMenu menu, S title, VF1<JPopupMenu> populate) {
2  
  addSubMenu(menu, jDynamicScrollingMenu(title, populate));
3  
}
4  
5  
svoid addScrollingSubMenu(JPopupMenu menu, S title, VF1<JPopupMenu> populate) {
6  
  addSubMenu(menu, jDynamicScrollingMenu(title, populate));
7  
}
8  
9  
svoid addScrollingSubMenu(JPopupMenu menu, S title, IVF1<JPopupMenu> populate) {
10  
  addScrollingSubMenu(menu, title, toVF1(populate));
11  
}

Author comment

Began life as a copy of #1020527

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1030749
Snippet name: addScrollingSubMenu
Eternal ID of this version: #1030749/5
Text MD5: dc8807f71680cdaec3bf9b68f8a1fa5b
Transpilation MD5: ff32cc1eb9f6f4e0d9542f73692fd5e2
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-03-18 22:39:33
Source code size: 426 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 195 / 299
Version history: 4 change(s)
Referenced in: [show references]