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).

!752

sS progID = "#1005522";

concepts.

p-substance {
  loadConceptsFrom(progID);
  
  new L<L> data;
  for (Concept c : conceptsOfType("Clip")) {
    BWImage img = cast cget(c, "img");
    S desc = cast cget(c, "description");
    if (img != null)
      data.add(ll(c.id + ". " + desc, img.getBufferedImage()));
  }
  L<S> cols = splitAtSpace("ID/Description Image");
  
  JTable table = sexyTable();
  fillTableWithData(table, data, cols);
  table.setRowHeight(100);
  
  showFrame("PIF Clips (" + progID + ")", table);
}

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: 513 / 597
Referenced in: