static void sendImageToProgram(ImageIcon img, S progID) { sendImageToProgram(img.getImage(), progID); } static void sendImageToProgram(final Image img, final S progID) { thread "Sending image to program" { Class c = hotwire(progID); O bwImage = nuForeignObject(c, "main$BWImage", img); set(c, "img", bwImage); callMain(c); } }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1005946 |
Snippet name: | sendImageToProgram - hotwire program with image |
Eternal ID of this version: | #1005946/1 |
Text MD5: | e4ed3f65c671bf713ad81a88eed9d058 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-12-13 03:03:52 |
Source code size: | 360 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 569 / 570 |
Referenced in: | [show references] |