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  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: #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: 582 / 562
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)