Skip to content

goxr3plus/JavaFX-Web-Browser

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 

AlexKent Support me joining PI Network app with invitation code AlexKent AlexKent


JavaFX Web Browser ( Library )

🏡

You always dreamed how to make a WebBrowser in JavaFX? Well then you are in the right place.


Latest Version GitHub contributors HitCount Total Downloads

Java 10 Web Browser release ===> On the way ( I can't get it work with JitPack i don't know why ..... )

browser

Older Java 8 and 9 releases here

How to add this browser inside your application

You have to add it as a dependency , you can use JitPack.io

Step 1. Add the JitPack repository to your build file

<repositories>
	<repository>
		  <id>jitpack.io</id>
		  <url>https://jitpack.io</url>
	</repository>
</repositories>

Step 2. Add the dependency

 <dependency>
	   <groupId>com.github.goxr3plus</groupId>
	   <artifactId>JavaFX-Web-Browser</artifactId>
	   <version>Tag</version>
  </dependency>

Then from inside your code you can create an intance or multiple instances of Browser like this:

public WebBrowserController webBrowser = new WebBrowserController();

and add it for example inside a BorderPane :

BorderPane borderPane = new BorderPane( webBrowser );

Happy :) ? Cause i am ...