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

11
LINES

< > BotCompany Repo | #1003661 // menuItem

JavaX fragment (include)

static MenuItem menuItem(S text, fO r) {
  MenuItem mi = new MenuItem(text);
  mi.addActionListener(actionListener(r));
  ret mi;
}

static MenuItem menuItem(S text, Runnable r) {
  MenuItem mi = new MenuItem(text);
  mi.addActionListener(actionListener(r));
  ret mi;
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1003661
Snippet name: menuItem
Eternal ID of this version: #1003661/3
Text MD5: bdbfd26988b6ac58219b0db9972e7e44
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2023-01-31 14:33:46
Source code size: 280 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 646 / 762
Version history: 2 change(s)
Referenced in: #1004036 - jmenuItem
#1006654 - Standard functions list 2 (LIVE, continuation of #761)