Download Jar. Uses 3874K of libraries. Click here for Pure Java version (8293L/57K).
1 | !7 |
2 | |
3 | p-noconsole { |
4 | final JTextField snippetID = snippetIDChooser(); |
5 | final JLabel title = jAutoSnippetTitle(snippetID); |
6 | final JTextField newTitle = jtextfield(); |
7 | renameSubmitButton("Rename snippet", |
8 | showForm(+snippetID, +title, +newTitle, disableButtonWhileCalcing(func -> bool { |
9 | S s = renameSnippet(getText(snippetID), getTextTrim(newTitle)); |
10 | bool ok = swic(s, "OK"); |
11 | infoBox(ok ? "Renamed!" : "Error: " + s); |
12 | ret ok; |
13 | }))); |
14 | } |
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: | #1015725 |
Snippet name: | Rename Snippet Form [OK] |
Eternal ID of this version: | #1015725/11 |
Text MD5: | a393a40e803c8b84c654942d1f63d179 |
Transpilation MD5: | e8a2cb2fde04ea70ad569252ebf60ad1 |
Author: | stefan |
Category: | javax |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-05-26 14:09:37 |
Source code size: | 477 bytes / 14 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 454 / 1199 |
Version history: | 10 change(s) |
Referenced in: | [show references] |