Skip navigation links

Package com.dukescript.presenters.jxbrowser

JXBrowser Presenter This project provides a DukeScript presenter based on Chromium using the JXBrowser project (https://www.teamdev.com/jxbrowser) for Swing & JavaFX integration.

See: Description

Package com.dukescript.presenters.jxbrowser Description

JXBrowser Presenter

This project provides a DukeScript presenter based on Chromium using the JXBrowser project (https://www.teamdev.com/jxbrowser) for Swing & JavaFX integration. It allows you to use all the modern features (like WebGL) that Chromium supports in the View of your application. To use this project, either get a license from Dukehoff GmbH (Send mail) or use the time-limited evaluation version.

To do so, create a regular DukeScript project from one of our archetypes:


 mvn archetype:generate 
	-DarchetypeGroupId=com.dukescript.archetype
	-DarchetypeArtifactId=knockout4j-archetype  # or cru4j-archetype or visual-archetype
	-DarchetypeVersion=1.5.1 
      -Diospath=client-ios # if you want iOS support
 

Then open the pom.xml of the "General Client" project and add the Dukehoff Maven Repository:


     <repositories>
      <repository>
        <id>Dukehoff</id>
        <name>Dukehoff Maven Repository</name>
        <url>https://dukescript.com/maven</url>
      </repository>
     </repositories>
 
Also remove this dependency from dependencies and in profile "javafx":

           <dependency>
               <groupId>org.netbeans.html</groupId>
               <artifactId>net.java.html.boot.fx</artifactId>
               <version>1.5.1</version>
                <scope>runtime</scope>
            </dependency>
 
Replace with this:

           <dependency>
               <groupId>com.dukescript.presenters</groupId>
               <artifactId>jxbrowser</artifactId>
               <version>${jxbrowser.presenter.version}</version>
                <scope>runtime</scope>
            </dependency>
 
Where ${jxbrowser.presenter.version} is the version of the JXBrowser Presenter. Check this Javadoc on the DukeScript Website for the latest evaluation version:

Current evaluation version: 6.20-eval-e4ccf1a

...or contact us for a personalized license.

With these configuration changes, you can enjoy DukeScript with best performance und all the modern features of Chromium.

Skip navigation links

Copyright © 2019. All rights reserved.