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

34
LINES

< > BotCompany Repo | #1006685 // Local Image Viewer (optionally takes image path as argument)

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

Uses 3874K of libraries. Click here for Pure Java version (5287L/37K/136K).

java.lang.RuntimeException: Unknown token 2: <: 
Warning: session_start(): open(/var/lib/php/sessions/sess_l1rmestqrfpddc5kqei8irem1m, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51

Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
{"1000619":"get function","1000810":"join function + array version","1000999":"asList - always returns a new ArrayList (no wrapping)","1001428":"getFrame (get frame of Swing component)","1001518":"l function (synonym of length), length of arrays, strings, lists, size of maps","1001598":"assertTrue - no longer accepts a function returning a boolean","1002512":"mod - better modulo that always gives positive numbers","1003469":"hideConsole - hide JavaX console window","1003723":"loadBufferedImage - also takes a file path","1004136":"registerKey - Note: always registers a key for a whole JFrame!","1004553":"ImageSurface","1005311":"listFilesOnly - list only the files (not directories)","1006601":"absolutePath - same as File.getAbsolutePath(); returns \"\" on null","1006686":"indexOfPred - index of first element in list that matches a predicate","1006687":"registerLeftKey - register cursor-left key for a whole JFrame","1006688":"registerRightKey - register cursor-left key for a whole JFrame","1006689":"showImage_centered","1006690":"registerPlusKeys","1006691":"registerMinusKeys","1006692":"inputFilePath - show input form for a file path","1007768":"faster eq function (if you never compare a BigInt to an Int or Long), LIVE"} at main.fail(m1008705.java:1589) at main$jsonDecode_Y.fail_base(m1008705.java:14008) at main$jsonDecode_Y.fail(m1008705.java:14006) at main$jsonDecode_Y.parseExpr(m1008705.java:14058) at main$jsonDecode_Y.parse(m1008705.java:14012) at main.jsonDecode(m1008705.java:13990) at main.jsonDecodeMap(m1008705.java:12844) at main.getSnippetTitles(m1008705.java:10820) at main$JavaXHyperlinker.codeToHTML(m1008705.java:6209) at main.html2(m1008705.java:85) at main.html(m1008705.java:67) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:577) at main.invokeMethod(m1008705.java:1601) at main.callOpt_withVarargs(m1008705.java:4387) at main.callOpt(m1008705.java:3326) at main.callHtmlMethod2(m1008705.java:11404) at main$MyHTTPD$1.get(m1008705.java:7337) at main$MyHTTPD$1.get(m1008705.java:1) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:577) at main.invokeMethod(m1008705.java:1601) at main.safeCallF(m1008705.java:642) at main.callF(m1008705.java:611) at main$MyHTTPD.serve(m1008705.java:7373) at main$NanoHTTPD.serve_2(m1008705.java:9572) at main$NanoHTTPD.serve(m1008705.java:9553) at main$NanoHTTPD$HTTPSession.execute(m1008705.java:8453) at main$NanoHTTPD$ClientHandler.run(m1008705.java:7829) at java.base/java.lang.Thread.run(Thread.java:833)

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: #1006685
Snippet name: Local Image Viewer (optionally takes image path as argument)
Eternal ID of this version: #1006685/16
Text MD5: a9a992fa92f70724a8c42e6e81d82069
Transpilation MD5: 878f4ed52fab3b45090ad4f9c8bb7848
Author: stefan
Category: javax / gui
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-02-05 11:09:05
Source code size: 1140 bytes / 34 lines
Pitched / IR pitched: No / No
Views / Downloads: 990 / 2440
Version history: 15 change(s)
Referenced in: #1007760 - Local Image Viewer 2 (fits image in window by default)