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

17
LINES

< > BotCompany Repo | #1016272 // stefansOS_showNewDynamicModule

JavaX fragment (include)

// c is the main class
// className the full name of the inner class
svoid stefansOS_showNewDynamicModule(S snippetID, S className, Class c) {
  //className = addPrefix_orNull("main$", className);
  print("Making module " + snippetID + " with class " + className);
  //printStackTrace();
  //print_acc_programIDs();
  DynamicModule mod = cregister(new DynamicModule(snippetID, className, c));
  vmBus_send moduleLoaded(mod);
  startModule(mod);
  if (!stefansOS_shouldStartMinimized(mod))
    showModule(mod);
}

static void stefansOS_showNewDynamicModule(S snippetID, S className) {
  stefansOS_showNewDynamicModule(snippetID, className, null);
}

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: 333 / 399
Version history: 12 change(s)
Referenced in: [show references]