java.lang.RuntimeException: Unknown token 2: <:
Warning: session_start(): open(/var/lib/php/sessions/sess_h3pmvbba9h7c652m67ojr7q53h, 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
{"1000644":"shorten function","1000658":"print function (=System.out.println + logging in memory)","1000801":"now function","1000826":"withLabel","1000999":"asList - always returns a new ArrayList (no wrapping)","1001518":"l function (synonym of length), length of arrays, strings, lists, size of maps","1001520":"eqic (short for equalsIgnoreCase)","1001623":"showFrame (synonym of makeFrame)","1001822":"isChecked","1001892":"isIdentifier - synonym of isJavaIdentifier","1001992":"str function (=String.valueOf + extensions)","1002013":"toObjectArray - could make optimized version for non-concurrent collections","1002108":"empty - extended synonym of isEmpty","1002348":"nempty - not empty","1002455":"plural - synonym of getPlural","1002662":"isTrue - synonym of booleanValue","1002990":"contains - like Collection.contains, but allows a null collection and arrays. also for strings","1003047":"collect - extended synonym of collectField","1003110":"joinSets - uses similar set to first one passed, or HashSet by default","1003239":"map - call function on list (takes function name, Runnable or function object with \"get\" method) \/ now also works on maps","1003312":"jbutton - extended synonym of newButton","1003336":"listPlus - list plus more elements","1003453":"_getClass - finds class by name, casts to class or returns class of object","1003516":"maximizeFrame - better in non-AWT thread (so it can wait for the maximization)","1003586":"onDoubleClick (for JList\/JTable\/other components)","1003638":"litorderedmap - create LinkedHashMap with items","1004219":"Pair - value pair; sorted by a, then b","1004434":"jlabel - make JLabel with automatic tooltip and popup menu","1004686":"addAll - generalizes Collection.addAll + synonym of addComponents","1004815":"shortClassName","1004863":"\"Concepts\" (persistent Java objects, include)","1005084":"jcombobox","1005288":"optCast - cast to type or return null if not an instance of it","1005294":"conceptFields (sorted, includes dynamic fields)","1005319":"SingleComponentPanel","1005366":"typeWriterTextArea - synonym of newTypeWriterTextArea","1005548":"parseFirstLong - parse first long in string - tokenizes","1005595":"quote - Java-compatible string quoting with \"\". now also escapes \\t","1005735":"addMenuItem - add JMenuItem to JMenu\/JPopupMenu\/Menu","1005867":"jTextField - with undo","1006015":"strOrEmpty - convert to string with str() or leave as \"\" when null","1006055":"deleteConcept","1006056":"withDBLock - execute code while holding DB lock","1006063":"ImageChooser","1006210":"tablePopupMenuFirst - adds to top of the menu if it already exists","1006243":"jRightAlignedLine - synonym of jrightAlignedLine","1006455":"getTextTrim - getText() from JTextComponent, trim","1006542":"db - synonym of conceptsAndBot","1006548":"tablePopupMenuItem - adds to the menu if it already exists","1006559":"convertToField - convert arbitrary value to fit a field","1006562":"fieldType - get type of an object's\/class's field","1006565":"structureOrText_crud - render field value to string for SimpleCRUD","1006566":"tableDependButton","1006614":"getConcept","1006623":"renameSubmitButton - rename button called \"Submit\" (default text in showForm)","1006634":"selectedConcept - get selected concept from concepts table (with first column=id)","1006642":"getText - get entered text\/selected item from JTextComponent or JComboBox (thread-safe)","1006649":"cget","1006694":"jtextfield - synonym of jTextField","1006703":"myNonAbstractClassesImplementing - probably better than nonAbstractClassesImplementing (doesn't go through class loader's files)","1006833":"infoBox - synonym of infoMessage - show info message in top-right corner","1006954":"onChange","1007115":"getFieldType - synonym of fieldType - get type of an object's\/class's field","1007117":"cUpdatePNGFile","1007121":"jCenteredCheckBox - make horizontally centered JCheckBox","1007232":"unwrap - unwrap a Swing component (e.g. out of scroll pane)","1007406":"framesBot","1007435":"putAll - add map b to map a and return a","1007549":"takeFirst function (take first n elements of a list; or characters of a string)","1007591":"unlisted","1007651":"onChangeAndNow - synonym of onUpdateAndNow (for JTextComponent, JCheckBox and others)","1007768":"faster eq function (if you never compare a BigInt to an Int or Long), LIVE","1008154":"F0 - function with zero arguments","1008716":"autoComboBox","1009156":"joinWithComma - join with \", \" separator","1009257":"cset - set fields in Concept object (with notification of DB)","1009904":"jpassword - make JPasswordField","1010267":"singleComponentPanel","1010415":"printException","1010557":"gtt - synonym of getTextTrim - getText() from JTextComponent, trim","1013534":"ccopyFields - for concepts","1014283":"listWithoutSet - synonym of listMinusSet - list minus some elements","1015076":"containsNewLines - synonym of containsNewLine","1015269":"getVar","1016470":"showFormTitled2 - with formLayouter1","1016898":"tableWithSearcher2 - add search bar on top of JTable, return a class","1016947":"centerAndSouthWithMargin","1018058":"setPlus - set plus more elements","1019676":"westAndCenterWithMargin","1019729":"withToolTip - synonym of setToolTipText","1020662":"trimIf","1020663":"tempSetMCOpt","1020890":"list (for concepts)","1021551":"ccopyFieldsExcept - for concepts","1024542":"printVars_str - print a bunch of vars (don't use struct)","1026716":"jhgridWithSpacing - synonym of hgridWithSpacing","1028040":"isSubtype - synonym of isSubclass","1028041":"jcomboboxFromConcepts_str - use concept's toString","1029628":"SecretValue - generic record","1029714":"allBackRefs","1029718":"sortedByConceptID","1030725":"JConceptsTable - new version of showConceptsTable","1030726":"SimpleCRUD_v2 - create\/read\/update\/delete for a concept class with simple fields [Swing]","1030746":"replaceConceptAndUpdateRefs - replace a concept with a new one, keeping its ID and updating all references","1030751":"isSubclassOfAny","1030793":"jTypedComboBox","1030794":"sortClassesByNameIC","1030795":"moveItemFirst - move element to beginning of (cloned) list","1030796":"dropTypeParameter - e.g. L to L","1030797":"customToStringListCellRenderer","1030798":"setComboBoxRenderer","1030799":"notNullOrEmptyString","1030810":"jMinWidthAtLeast - set minimum width of Swing component","1030813":"getSelectedItem_typed - for JList\/JComboBox","1032548":"createOrAddToSet (defaults to HashSet)","1033217":"value - make Value","1033844":"flattenToList - best flattening function. unpacks object arrays and iterables recursively, drops nulls","1034449":"setSelected (AbstractButton)"} 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)
Began life as a copy of #1030726
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1033931 |
| Snippet name: | SimpleCRUD_v2 - create/read/update/delete for a concept class with simple fields [Swing, backup] |
| Eternal ID of this version: | #1033931/4 |
| Text MD5: | 91e388e103c98db3b74f811391d065c9 |
| Author: | stefan |
| Category: | javax / concepts / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-02-10 08:42:04 |
| Source code size: | 11832 bytes / 357 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 565 / 552 |
| Version history: | 3 change(s) |
| Referenced in: | -