Download Jar. Uses 3874K of libraries. Click here for Pure Java version (9121L/66K).
!7 p-experiment { final JTextField tfSender = jtextfield(); final JTextField tfTo = jtextfield(); final JTextField tfSubject = jtextfield("bla"); final JTextArea tfText = jwrappedtextarea(); JComponent c = moveToTopLeftCorner(showFormTitled_customLayout(formLayouter1(), "GMail Send Form", "From:", tfSender, "To:", tfTo, "Subject:", tfSubject, "Text:", tfText, "", jbutton("Send mail!"))); setFormData(c, litmap( "From:" := "Me", "To:" := "bill.gates@microsoft.com", "Subject:" := "Hello", "Text:" := "Hello Bill.\n\n-Sent from my JavaX computer")); assertEqualsVerbose_fullTrim([[ 1. "From:" = "Me" 2. "To:" = "bill.gates@microsoft.com" 3. "Subject:" = "Hello" 4. "Text:" = "Hello Bill.\n\n-Sent from my JavaX computer" ]], pnlStructToString(autoGetDataFromForm(c))); }
Began life as a copy of #1014737
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: | #1014743 |
Snippet name: | Test setFormData (OK) |
Eternal ID of this version: | #1014743/5 |
Text MD5: | 6c7ef07b8ece25fa1507db456017d0bc |
Transpilation MD5: | b53fc235e36eb49befd82d50514087d3 |
Author: | stefan |
Category: | javax / gui / forms |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-05-01 16:05:10 |
Source code size: | 881 bytes / 29 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 534 / 1125 |
Version history: | 4 change(s) |
Referenced in: | [show references] |