Download Jar. Uses 3874K of libraries. Click here for Pure Java version (9956L/69K).
1 | !7 |
2 | |
3 | concept UserLine { |
4 | S text; |
5 | long typed; |
6 | } |
7 | |
8 | static JTextField tf; |
9 | |
10 | p-substance-noconsole { |
11 | //showConceptsTable_postProcess.set(f reversedList); |
12 | showConceptsTable_afterUpdate.set(voidfunc(JTable t) { |
13 | print("Scrolling down!"); |
14 | scrollTableDownIn(t, 100); |
15 | }); |
16 | SimpleCRUD<UserLine> crud = fastCRUD(programTitle(), UserLine); |
17 | |
18 | tf = setTextFieldFontSize(jCenteredTextField(), 20); |
19 | addToWindow(crud.panel, withTitle("Type here:", tf)); |
20 | onEnter(tf, r { |
21 | tf.selectAll(); |
22 | cnew(UserLine, text := getTextTrim(tf), typed := now()); |
23 | }); |
24 | focus(tf); |
25 | } |
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: | #1007394 |
Snippet name: | Simple Input Collector |
Eternal ID of this version: | #1007394/16 |
Text MD5: | 8acdd4a5a98f76f3bf507b0d381c4aa0 |
Transpilation MD5: | 93c6589e1a2fcfb19a989054e9212b6a |
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-03-21 13:15:15 |
Source code size: | 599 bytes / 25 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 641 / 1625 |
Version history: | 15 change(s) |
Referenced in: | [show references] |