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

4
LINES

< > BotCompany Repo | #1034346 // getMenus

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

Libraryless. Click here for Pure Java version (5261L/28K).

static L<JMenu> getMenus(JMenuBar mb) {
  if (mb == null) null;
  ret countIteratorAsList(mb.getMenuCount(), i -> mb.getMenu(i));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1034346
Snippet name: getMenus
Eternal ID of this version: #1034346/2
Text MD5: 03e27e6afdb5fadfc5b946c8434bf789
Transpilation MD5: 5db0ffc76530be5376a873d91cda067d
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-02-03 03:42:34
Source code size: 134 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 163 / 243
Version history: 1 change(s)
Referenced in: [show references]