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

18
LINES

< > BotCompany Repo | #1016162 // jxBrowser_init

JavaX fragment (include)

lib 1400043 // jxbrowser
static L<S> _stickyLibs_jxBrowser_init = ll(#1400043);

import com.teamdev.jxbrowser.chromium.Browser;
import com.teamdev.jxbrowser.chromium.BrowserType;
import com.teamdev.jxbrowser.chromium.swing.BrowserView;

static volatile bool jxBrowser_init_done;

svoid jxBrowser_init() {
  if (jxBrowser_init_done) ret;
  jxBrowser_init_done = true;
  //addLibrary(javaxSecretDir("jxbrowser-license.jar"));
  if (isLinux()) addStickyLibrary(#1400044); // TODO: Linux 32 bit?
  else if (isWindows()) addStickyLibrary(#1400045);
  else if (isMac()) addStickyLibrary(#1400046);
  else fail("Unsupported OS");
}

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: 461 / 461
Version history: 7 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)