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

20
LINES

< > BotCompany Repo | #1016155 // Test JxBrowser in JInternalFrame [OK with license jar]

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Uses 0K of libraries. Click here for Pure Java version (5307L/37K).

1  
!7
2  
3  
lib 1400043 // jxbrowser
4  
5  
import com.teamdev.jxbrowser.chromium.Browser;
6  
import com.teamdev.jxbrowser.chromium.BrowserType;
7  
import com.teamdev.jxbrowser.chromium.swing.BrowserView;
8  
9  
p {
10  
  addLibrary(assertExists(javaxSecretDir("jxbrowser-license.jar")));
11  
  if (isLinux()) addLibrary(#1400044);
12  
  else fail("Need lib");
13  
  JDesktopPane desktop = jDesktopPane();
14  
  showMaximizedFrame(desktop);
15  
  
16  
  Browser browser = new Browser(BrowserType.LIGHTWEIGHT);
17  
  BrowserView view = new BrowserView(browser);
18  
  browser.loadURL("https://BotCompany.de");
19  
  addInternalFrame(desktop, "Browser", view);
20  
}

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: #1016155
Snippet name: Test JxBrowser in JInternalFrame [OK with license jar]
Eternal ID of this version: #1016155/7
Text MD5: 56898c72c87a5ef682b5f1aa905d2ec1
Transpilation MD5: f193d07e3d92aa3fa84484ce2869c22c
Author: stefan
Category: javax / gui
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-07 19:04:54
Source code size: 613 bytes / 20 lines
Pitched / IR pitched: No / No
Views / Downloads: 536 / 1269
Version history: 6 change(s)
Referenced in: [show references]