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

17
LINES

< > BotCompany Repo | #1006704 // substanceLAF_external - enable Substance look and feel using hotwired program (idempotent)

JavaX fragment (include)

1  
static void substanceLAF_external() {
2  
  substanceLAF_external(null);
3  
}
4  
5  
static S substanceLAF_version = "#1005653"; //"#1003448";
6  
static O substanceLAF_object;
7  
8  
static void substanceLAF_external(S skinName) {
9  
  pcall {
10  
    if (!substanceLookAndFeelEnabled()) {
11  
      substanceLAF_object = hotwire_overInternalBot(substanceLAF_version);
12  
      if (skinName != null)
13  
        set(substanceLAF_object, "skinName", skinName);
14  
      runMain(substanceLAF_object);
15  
    }
16  
  }
17  
}

Author comment

Began life as a copy of #1003450

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: #1006704
Snippet name: substanceLAF_external - enable Substance look and feel using hotwired program (idempotent)
Eternal ID of this version: #1006704/1
Text MD5: 3814f47bb991ecc254c385b6cb065a2b
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-02-02 02:59:52
Source code size: 483 bytes / 17 lines
Pitched / IR pitched: No / No
Views / Downloads: 527 / 531
Referenced in: [show references]