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

17
LINES

< > BotCompany Repo | #1016272 // stefansOS_showNewDynamicModule

JavaX fragment (include)

1  
// c is the main class
2  
// className the full name of the inner class
3  
svoid stefansOS_showNewDynamicModule(S snippetID, S className, Class c) {
4  
  //className = addPrefix_orNull("main$", className);
5  
  print("Making module " + snippetID + " with class " + className);
6  
  //printStackTrace();
7  
  //print_acc_programIDs();
8  
  DynamicModule mod = cregister(new DynamicModule(snippetID, className, c));
9  
  vmBus_send moduleLoaded(mod);
10  
  startModule(mod);
11  
  if (!stefansOS_shouldStartMinimized(mod))
12  
    showModule(mod);
13  
}
14  
15  
static void stefansOS_showNewDynamicModule(S snippetID, S className) {
16  
  stefansOS_showNewDynamicModule(snippetID, className, null);
17  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1016272
Snippet name: stefansOS_showNewDynamicModule
Eternal ID of this version: #1016272/13
Text MD5: 010a7e38a75e9064b0745ea2e6aefaff
Author: stefan
Category: javax / stefan's os
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-22 16:02:04
Source code size: 663 bytes / 17 lines
Pitched / IR pitched: No / No
Views / Downloads: 400 / 471
Version history: 12 change(s)
Referenced in: [show references]