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

26
LINES

< > BotCompany Repo | #1007528 // Add Relation Between Two Concepts [WORKS]

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Uses 3874K of libraries. Click here for Pure Java version (9255L/64K).

1  
!7
2  
3  
p-substance-noconsole {
4  
  final AutoComboBox cb1 = aiConceptsComboBox();
5  
  final AutoComboBox cb2 = aiConceptsComboBox();
6  
  final AutoComboBox cb3 = aiConceptsComboBox();
7  
  showFormTitled("Add Relation",
8  
    "Concept 1", cb1,
9  
    "Relation", cb2,
10  
    "Concept 2", cb3,
11  
    func {
12  
      pcall-messagebox {
13  
        fS c1 = jGetGlobalID(cb1);
14  
        fS c2 = jGetGlobalID(cb2);
15  
        fS c3 = jGetGlobalID(cb3);
16  
        assertTrue("Please fill all fields", allNempty(c1, c2, c3));
17  
        thread {
18  
          loading {
19  
            addTruthWithInfoBox(c2 + " " + c1 + " " + c3);
20  
            disposeFrame(cb1);
21  
          }
22  
        }
23  
      }
24  
      false;
25  
    });
26  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1007528
Snippet name: Add Relation Between Two Concepts [WORKS]
Eternal ID of this version: #1007528/11
Text MD5: bf89dff4ee9334c1963f976002831c8f
Transpilation MD5: 937dd45ca46265d893f2e79e76d50a07
Author: stefan
Category: javax / a.i. / gui
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-03-26 12:31:16
Source code size: 687 bytes / 26 lines
Pitched / IR pitched: No / No
Views / Downloads: 536 / 11471717
Version history: 10 change(s)
Referenced in: [show references]