This project demonstrates integration of Stimulsoft Reporting tools with JavaFx.
- JDK 8
- Maven
- Stimulsoft Reporting
- JavaFx
- Swing
- MySQL 5.7
- Localization
- Lombok
It also contains a Customized Report Viewer (ReportViewer class) with more controls based on Stimulsoft report viewer UI (StiViewerFx class). With localization simplified feature, you can easily localize your report viewer. Two locale files are placed in Localization directory. For supporting more languages just put your specific language file in this directory and send the name of it to ReportViewer class.
to being able to compile and build the project you need following prerequisites:
- JDK 8 Download
- Maven [Download] (http://maven.apache.org/download.cgi)
cd /path/to/project/root/directory/
mvn clean package
it creates the jar file: /path/to/project/root/directory/target/javafx_stimulsoft-1.0-SNAPSHOT.jar
- Install MySQL Download
- Set MySQL configuration in Main.java file:
private static final String MYSQL_IP = "localhost"; private static final int MYSQL_PORT = 3306; private static final String MYSQL_USER = "root"; private static final String MYSQL_PASS = "951963";
- Copy following directories to the jar location:
cp -r /path/to/project/root/directory/Localization /path/to/project/root/directory/target/ cp -r /path/to/project/root/directory/Reports /path/to/project/root/directory/target/
- Run the jar file in terminal/cmd:
java -jar /path/to/project/root/directory/target/javafx_stimulsoft-1.0-SNAPSHOT.jar
Currently following locale supports:
- English (en.xml)
- Farsi (fa.xml)
The default locale is English (en). To switch between them pass locale name as argument to the jar file.
java -jar /path/to/project/root/directory/target/javafx_stimulsoft-1.0-SNAPSHOT.jar fa
The contents of this repository are covered under the MIT License.