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

24
LINES

< > BotCompany Repo | #1005533 // Show PIF clips DB [works]

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (6228L/42K/140K).

1  
!752
2  
3  
sS progID = "#1005522";
4  
5  
concepts.
6  
7  
p-substance {
8  
  loadConceptsFrom(progID);
9  
  
10  
  new L<L> data;
11  
  for (Concept c : conceptsOfType("Clip")) {
12  
    BWImage img = cast cget(c, "img");
13  
    S desc = cast cget(c, "description");
14  
    if (img != null)
15  
      data.add(ll(c.id + ". " + desc, img.getBufferedImage()));
16  
  }
17  
  L<S> cols = splitAtSpace("ID/Description Image");
18  
  
19  
  JTable table = sexyTable();
20  
  fillTableWithData(table, data, cols);
21  
  table.setRowHeight(100);
22  
  
23  
  showFrame("PIF Clips (" + progID + ")", table);
24  
}

Author comment

Began life as a copy of #1005443

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: #1005533
Snippet name: Show PIF clips DB [works]
Eternal ID of this version: #1005533/1
Text MD5: b809ad43de4bd42928840497395ec59e
Transpilation MD5: bfdf7764d9efb9d2414e8a95727ed042
Author: stefan
Category: javax / ocr
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-11-25 17:23:16
Source code size: 548 bytes / 24 lines
Pitched / IR pitched: No / No
Views / Downloads: 512 / 596
Referenced in: [show references]