Articles

Using TiwulFX in Your Project

Maven

Add this dependency in your pom file.

<dependency>
    <groupId>com.panemu</groupId>
    <artifactId>tiwulfx</artifactId>
    <version>2.0-SNAPSHOT</version>
</dependency>

 

Manual

TiwulFX depends on three libraries. They are:

  1. commons-beanutils: provides Reflection and Introspection capabilities that allow TiwulFX to dynamically access Java object properties.
  2. common-logging: needed by commons-beanutils.
  3. Apache POI: used by export-to-excel feature.

Get latest TiwulFX library from Maven Repo. You need to put them in your project’s classpath. Don’t forget to load tiwulfx.css in the start method of your Application class.

@Override
public void start(Stage primaryStage) {
    Scene scene = new Scene(new FrmMain());
    primaryStage.setTitle("Hello World!");
    scene.getStylesheets().add("tiwulfx.css");//load tiwulfx.css
    primaryStage.setScene(scene);
    primaryStage.show();
}