Download Jar. Uses 4489K of libraries. Click here for Pure Java version (5264L/39K).
!7 static JTextPane textPane; p-subst { setConsoleInputFontSize(20); centerConsoleInput(); centerBottomConsole(); bot("Show Item Page."); focusConsole(); } static bool showItemPage(S _word) { fS word = trim(_word); if (empty(word)) false; fS text = word + "\n\n"; swing { JFrame f = getFrame(textPane); frameToFront(showFrame(word, textPane = jcenteredtextpane(text, style_bold(style_fontSize(24))), f)); textPane.setEditable(false); focusConsole(); thread { addImageToTextPane(textPane, quickVisualize(word)); } } true; } answer { if (showItemPage(s)) ret "OK"; }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1009740 |
Snippet name: | Make Item Page [shows name and googled picture] |
Eternal ID of this version: | #1009740/16 |
Text MD5: | 85bd51abe3016c7f4320f9e817843f01 |
Transpilation MD5: | 6b0bb0c9ff8e51e7f4d67bed4e116fb5 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-08-15 21:08:56 |
Source code size: | 652 bytes / 31 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 502 / 1212 |
Version history: | 15 change(s) |
Referenced in: | [show references] |