Lobo is a Java web browser which can be embedded into Swing applications.
It supports HTML 4, CSS 2, and Javascript, which is more up-to-date compared to the JEditorPane
which only supports HTML 3.2.
For some ideas on what is possible, the Lobo Browser API documentation should provide an idea of what is possible to do with Lobo. In particular, the org.lobobrowser.gui
has a BrowserPanel
class which is a subclass of JPanel
, so it can be directly embedded in Swing applications.
For example, the BrowserPanel.navigate
method can be used to jump to web pages, and there are many Listener
s which can capture events which occur in the browser.