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

11
LINES

< > BotCompany Repo | #1005536 // showRegularlyUpdatedList

JavaX fragment (include)

1  
static JList showRegularlyUpdatedList(fS title, fO f, final int interval) {
2  
  ret (JList) swingAndWait(func {
3  
    final new JList list;
4  
    showFrame(title, list);
5  
    swingEvery(list, interval, 0, r {
6  
      L<S> data = (L<S>) callF(f);
7  
      fillListWithStrings(list, data);
8  
    });
9  
    ret list;
10  
  });
11  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1005536
Snippet name: showRegularlyUpdatedList
Eternal ID of this version: #1005536/1
Text MD5: 9184a0e0bfe3cadd0287763344cd1aa2
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-11-26 15:52:18
Source code size: 315 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 523 / 509
Referenced in: [show references]