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

8
LINES

< > BotCompany Repo | #1006022 // Drag&drop image files into this window!

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

Libraryless. Click here for Pure Java version (3637L/25K/83K).

!752

p-awt {
  final new ImageSurface is;
  showFrame(jscroll(is));
  
  jHandleFileDrop(is, voidfunc(File f) { is.setImage(loadBufferedImage(f)) });
}

Author comment

Began life as a copy of #1006013

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: #1006022
Snippet name: Drag&drop image files into this window!
Eternal ID of this version: #1006022/1
Text MD5: 371712e673cdbb6f5015d0e29db84660
Transpilation MD5: 7b21683e70df24fe376f51f9eeef7839
Author: stefan
Category: javax / gui
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-12-15 00:41:31
Source code size: 159 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 431 / 703
Referenced in: [show references]