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

163
LINES

< > BotCompany Repo | #1020242 // Teach Colors To The Machine [OK]

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Libraryless. Click here for Pure Java version (16988L/126K).

java.lang.RuntimeException: Unknown token 2: <: 
Warning: session_start(): open(/var/lib/php/sessions/sess_f6cic3i0ue7rd5b33menrbj880, 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
{"1000658":"print function (=System.out.println + logging in memory)","1000826":"withLabel","1001295":"oneOf function","1001520":"eqic (short for equalsIgnoreCase)","1001741":"or function","1001788":"onEnter (on JTextField, JButton, JList, JComboBox, JTable, JTextArea) - also selects all on JTextField","1001921":"replaceWords - replace certain words in an NL sentence","1002066":"licensed - should program keep running? also ping()s so thread is cancelled\/paused etc. on request","1002071":"trim function","1002108":"empty - extended synonym of isEmpty","1002617":"confirm - have action confirmed by user before executing","1002621":"toInt","1002778":"quickImport - see quickExport","1003008":"or2 function - return string or default value if string is empty (=null or \"\")","1003376":"singleColorPanel - note: does not work properly with Substance","1004219":"Pair - value pair; sorted by a, then b","1004959":"withBottomMargin","1005595":"quote - Java-compatible string quoting with \"\". now also escapes \\t","1006305":"westAndCenter (make BorderLayout)","1006529":"withTopMargin","1006626":"vstackWithSpacing - stack components vertically","1007148":"selectAll - JTextField.selectAll","1007149":"sansSerifBold - make standard Sans Serif font (bold)","1007347":"makeBold","1010253":"pairB - synonym of secondOfPair","1010254":"pairA - synonym of firstOfPair","1010316":"fontSize - synonym of setFontSize + getFontSize","1010642":"removeFromParent","1011436":"containsWord","1012632":"n2 - n2(3, \"item\") => \"3 items\". Also n2(1234) = \"1,234\"","1014599":"inputText - show input form for single-line text, call action on enter (in new thread)","1014940":"toColor","1015058":"RGB - red\/green\/blue triple with float precision","1015555":"mapLiveValue - apply function to LiveValue","1015740":"northAndCenterWithMargins","1015892":"DynModule [base class for dynamic modules]","1015971":"dm_fieldLiveValue - live-value for a field in DynModule. should also work with transient fields","1016125":"dm_showModule - also takes a service ID","1016705":"dm_getBounds","1016786":"dm_say - speak!","1016903":"selectAllOnFocus","1016947":"centerAndSouthWithMargin","1016995":"dm_generalMap_get","1017129":"dm_fieldCheckBox - JCheckBox bound to module field (both ways)","1017812":"match_vbar - allows \"bla|blubb\"","1018370":"growInternalFrameSouth","1018371":"growInternalFrameLeft","1018415":"matchEnd function - match last tokens, return rest","1018531":"jBoldLabel - synonym of jboldLabel","1018561":"dm_callModule - call function in a module","1019440":"focusOnShow (first time only)","1019646":"westCenterAndEastWithMargin","1019837":"rightAlignedLine - synonym of jrightAlignedLine","1019840":"withSideMargin - synonym of withLeftAndRightMargin","1019862":"dm_setTopInput - synonym of dm_setAIBarText","1019978":"internalFrameTitleMenuItem - synonym of internalFrameTitlePopupMenuItem","1020076":"dm_reloadModuleInBackground","1020230":"randomLL","1020248":"dm_colorNamesModule","1020252":"changeSingleColorPanel","1020253":"randomHSBColor - returns RGB","1020254":"rgbFromHex","1020255":"jPopDownButton_noText - pop down button with just a triangle (no text)","1020256":"dm_infoBoxOrTalk","1020264":"dm_showYesToAcceptPopupAbove","1020266":"simulateClick - synonym of clickButton","1020280":"liveValueLabel - synonym of jLiveValueLabel","1020286":"jCenteredSectionWithFont - jSection with centered title","1020287":"jBoldButton - synonym of jboldbutton","1020288":"jBoldLiveValueLabel","1020289":"dm_centeredFieldTextField - JTextField bound to module field (both ways)","1020291":"dm_hideYesPopupForComponent","1020292":"dm_onTopInput_q - execute in module's queue","1020293":"matchStart_vbar - allows \"bla|blubb\"","1020294":"dropPrefix_repeat_matchVBar","1020295":"dropSuffix_repeat_matchVBar","1020296":"matchEnd_vbar - allows \"bla|blubb\"","1020297":"onFirstShow - synonym of onFirstComponentShow","1020300":"dm_showTalkingSmiley","1020303":"containsPhrase","1020306":"containsWord_vbar","1020307":"containsPhrase_vbar","1024021":"with - synonym of withComputing"} 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)

Author comment

Began life as a copy of #1020199

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

-
Snippet ID: #1020242
Snippet name: Teach Colors To The Machine [OK]
Eternal ID of this version: #1020242/234
Text MD5: 527635451bcb3840341f95d42b785c98
Transpilation MD5: bc3bb3f02c202ab1b4132fab96e307f2
Author: stefan
Category: javax / stefan's os
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-12-14 19:43:57
Source code size: 7709 bytes / 163 lines
Pitched / IR pitched: No / No
Views / Downloads: 1144 / 4175
Version history: 233 change(s)
Referenced in: