Journey is a JCEF-powered cross-platform web browser created to address a need for an open-source JxBrowser alternative. No attempt has been made to go feature-to-feature with JxBrowser. Journey namely aims to provide the same level of cross-platform capability. This is accomplished by providing a reliable means of building and distributing the CEF native files with Travis-CI/AppVeyor, JitPack, and GitHub.
Issues/PRs are welcome for increasing the capability of Journey to be on par with that of JxBrowser.
- Linux (64bit) support
- Windows (32bit/64bit) support
- Release distributions (CDN via GitHub)
- Online/offline CEF native file access
repositories {
jcenter()
maven { url "https://jitpack.io" }
}
dependencies {
compile 'com.github.codebrig:journey:0.1.1-online'
//or use the offline version (includes native CEF files for all platforms)
//compile 'com.github.codebrig:journey:0.1.1-offline'
}
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependency>
<groupId>com.github.codebrig</groupId>
<artifactId>journey</artifactId>
<version>0.1.1-online</version>
<!-- or use the offline version (includes native CEF files for all platforms) -->
<!-- <version>0.1.1-offline</version> -->
</dependency>
import com.codebrig.journey.JourneyBrowserView;
import javax.swing.*;
import java.awt.*;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
public class JourneyBrowser {
public static void main(String[] args) throws Exception {
JourneyBrowserView browser = new JourneyBrowserView("https://google.com");
JFrame frame = new JFrame();
frame.getContentPane().add(browser, BorderLayout.CENTER);
frame.setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE);
frame.addWindowListener(new WindowAdapter() {
@Override
public void windowClosing(WindowEvent e) {
browser.getCefApp().dispose();
frame.dispose();
}
});
frame.setTitle("Journey");
frame.setSize(1000, 600);
frame.setVisible(true);
}
}
Build Date | Journey Version | JCEF Version | JCEF Commit |
---|---|---|---|
2019-05-21 | 0.1.1 | 73.1.11.215 | d348788e3347fa4d2a421773463f7dd62da60991 |