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

4
LINES

< > BotCompany Repo | #1004218 - showRandomImage() - Show a random image from images.tinybrain.de

JavaX fragment (include)

static Pair<S, ImageSurface> showRandomImage() {
  S id = randomImageID();
  ret pair(id, showImage(id, "Image: " + getSnippetTitle(id) + " - " + id));
}

Author comment

Began life as a copy of #1003774

download  show line numbers  debug dex   

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

No comments. add comment

Snippet ID: #1004218
Snippet name: showRandomImage() - Show a random image from images.tinybrain.de
Eternal ID of this version: #1004218/1
Text MD5: 2be5c96bd208f4dc70afacda22b9ce08
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-08-10 17:25:35
Source code size: 156 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 330 / 292
Referenced in: [show references]

Formerly at http://tinybrain.de/1004218 & http://1004218.tinybrain.de