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

18
LINES

< > BotCompany Repo | #1016162 // jxBrowser_init

JavaX fragment (include)

1  
lib 1400043 // jxbrowser
2  
static L<S> _stickyLibs_jxBrowser_init = ll(#1400043);
3  
4  
import com.teamdev.jxbrowser.chromium.Browser;
5  
import com.teamdev.jxbrowser.chromium.BrowserType;
6  
import com.teamdev.jxbrowser.chromium.swing.BrowserView;
7  
8  
static volatile bool jxBrowser_init_done;
9  
10  
svoid jxBrowser_init() {
11  
  if (jxBrowser_init_done) ret;
12  
  jxBrowser_init_done = true;
13  
  //addLibrary(javaxSecretDir("jxbrowser-license.jar"));
14  
  if (isLinux()) addStickyLibrary(#1400044); // TODO: Linux 32 bit?
15  
  else if (isWindows()) addStickyLibrary(#1400045);
16  
  else if (isMac()) addStickyLibrary(#1400046);
17  
  else fail("Unsupported OS");
18  
}

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: #1016162
Snippet name: jxBrowser_init
Eternal ID of this version: #1016162/8
Text MD5: a511003d04924bfb23e3c4e1297676d5
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-10 20:24:29
Source code size: 641 bytes / 18 lines
Pitched / IR pitched: No / No
Views / Downloads: 460 / 460
Version history: 7 change(s)
Referenced in: [show references]