Browser View

Lightweight or Heavyweight
JxBrowser supports two rendering modes: lightweight and heavyweight. By default, heavyweight rendering mode is enabled, so when you create Browser insta...
Fri, 22 Dec, 2017 at 12:34 PM
Using JxBrowser in Swing
JxBrowser supports Java Swing. To embed component that displays web pages you need to create Browser instance and wrap it into com.teamdev.jxbrowser.chromiu...
Wed, 6 Jan, 2016 at 10:40 AM
Using JxBrowser in JavaFX
JxBrowser supports JavaFX toolkit and can be embedded into JavaFX desktop applications as well. To embed control that displays HTML content you must create ...
Thu, 5 Oct, 2017 at 1:33 PM
Using JxBrowser in SWT
JxBrowser supports Swing/AWT and JavaFX UI toolkits. It provides two implementations of the BrowserView class that can be used for embedding JxBrowser into ...
Thu, 19 Oct, 2017 at 11:12 AM
Custom CSS Cursors
JxBrowser supports custom web cursors. The following sample demonstrates how it works:  import com.teamdev.jxbrowser.chromium.Browser; import com.teamde...
Fri, 22 Jan, 2016 at 3:23 PM
Title Events
To get notifications when document's title has been changed use TitleListener as shown on the following example: import com.teamdev.jxbrowser.chromi...
Tue, 29 Dec, 2015 at 4:27 PM
Status Events
When user moves cursor over a link, Chromium engine displays its URL in status bar. JavaScript code can change text in status bar programmatically via windo...
Fri, 12 Feb, 2016 at 11:44 AM
Keyboard & Mouse Events
You can listen to Keyboard and Mouse events in the BrowserView Swing control using the following way: Keyboard Events     import com.teamdev.jx...
Mon, 4 Apr, 2016 at 6:41 PM
Handling Keyboard Events
Using the BrowserView.setKeyEventsHandler(InputEventsHandler<KeyEvent> handler) method you can decide what keyboard events should be suppressed before...
Mon, 4 Apr, 2016 at 6:30 PM
Handling Mouse Events
Using the BrowserView.setMouseEventsHandler(InputEventsHandler<MouseEvent> handler) method you can decide what mouse events should be suppressed befor...
Mon, 4 Apr, 2016 at 6:32 PM
Editor Commands
JxBrowser provides functionality that allows you to execute commands such as "Cut", "Copy", "Paste", "Undo", "R...
Sun, 10 Jan, 2016 at 3:56 PM
Drag & Drop
Since 6.0 version JxBrowser supports two rendering modes: heavyweight (default mode) and lightweight. Drag and drop functionality is supported in both heavy...
Thu, 14 Sep, 2017 at 12:47 PM
HiDPI Displays
JxBrowser recognizes device scale factor that is used in environments with HiDPI displays and renders HTML content corresponding to that scale factor. JxBro...
Fri, 29 Jan, 2016 at 2:22 PM
Context Menu
By default JxBrowser doesn't display context menu when user right clicks on the loaded web page. Standard Chromium context menu isn't supported ei...
Thu, 11 Feb, 2016 at 6:23 PM
JMenuBar
When you embed BrowserView component into Java Swing frame with menu bar, by default you can see that browser component overlays pop-up menu as shown on the...
Fri, 29 Jan, 2016 at 2:23 PM
JInternalFrame
  import com.teamdev.jxbrowser.chromium.Browser; import com.teamdev.jxbrowser.chromium.BrowserType; import com.teamdev.jxbrowser.chromium.swing.BrowserV...
Fri, 25 Dec, 2015 at 5:38 PM
JTabbedPane
  import com.teamdev.jxbrowser.chromium.Browser; import com.teamdev.jxbrowser.chromium.swing.BrowserView; import javax.swing.*; import java.awt.*; ...
Fri, 25 Dec, 2015 at 5:46 PM
Accelerated Lightweight Rendering
In JxBrowser 6.10 and higher there's an option that allows enabling accelerated lightweight rendering mode. This rendering mode has improved performanc...
Thu, 22 Dec, 2016 at 11:42 AM
Transparent Background
In JxBrowser 6.10 and higher, there's functionality that allows enabling support of transparent background on the web page. The following example demon...
Tue, 13 Dec, 2016 at 1:08 PM