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

24
LINES

< > BotCompany Repo | #1001458 // showList

JavaX fragment (include)

static JList showList(L<S> l) {
  ret showList(l, autoFrameTitle());
}
  
static JList showList(S title, L<S> l) {
  ret showList(l, title);
}

static JList showList(L<S> l, S title) {
  ret showList(l, title, null);
}

static JList showList(JList list, L<S> l) {
  ret showList(l, autoFrameTitle(), list);
}

static JList showList(L<S> l, S title, JList list) {
  bool isNew = list == null;
  if (isNew) list = jlist();
  fillListWithStrings(list, l);
  if (isNew)
    showFrame(title, list);
  return list;
}

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: #1001458
Snippet name: showList
Eternal ID of this version: #1001458/4
Text MD5: 47cf81d46a08c96e39efad1943952346
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-04-20 16:32:45
Source code size: 533 bytes / 24 lines
Pitched / IR pitched: No / No
Views / Downloads: 670 / 885
Version history: 3 change(s)
Referenced in: #1001617 - showTable
#1002427 - Accellerating 629 (SPIKE)
#1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1009789 - showList_updatedOnConceptsChange
#3000382 - Answer for ferdie (>> t = 1, f = 0)
#3000383 - Answer for funkoverflow (>> t=1, f=0 okay)