This is a showcase for integrating the Acrolinx Sidebar into different Java UI framework-based applications (JFX, Swing, and SWT).
See: Build With Acrolinx
The Acrolinx Sidebar is designed to show up beside the window where you edit your content. You use it for checking, reviewing, and correcting your content. To get an impression what the Sidebar looks like in existing integrations, have a look at Sidebar Quick Start.
Please contact Acrolinx SDK support for consulting and getting your integration certified.
This sample works with a test license on an internal Acrolinx URL. This license is only meant for demonstration and developing purposes. Once you finished your integration, you'll have to get a license for your integration from Acrolinx.
Before you start developing your own integration, you might benefit from looking into:
- Build With Acrolinx,
- the Guidance for the Development of Acrolinx Integrations,
- the Acrolinx SDKs, and
- the Acrolinx Demo Projects.
- You need Java 11 to build this project.
- This project uses Gradle. To build this project with the Gradle Wrapper, execute the following command:
./gradlew build
on an UNIX system, or
gradlew build
on a Windows computer.
Build the project first, then run:
./gradlew sidebar-demo-jfx:run
./gradlew sidebar-demo-swing:run
./gradlew sidebar-demo-swt:run
This project uses the Gradle plugin for JavaFX. Please have a look at the OpenJFX documentation.
To be able to connect to Acrolinx, you might have to enable CORS on the Java VM:
java -Dsun.net.http.allowRestrictedHeaders=true ...
Or via code:
System.setProperty("sun.net.http.allowRestrictedHeaders", "true");
Cross-Origin Resource Sharing, must be enabled on the Acrolinx Platform as well.
- This DEMO is built on the Sidebar SDK Java.
- Sidebar SDK Java API Reference.
- The Sidebar SDKs are based on the Acrolinx Sidebar Interface.