In this blog post we will look at two ways to load the Scheduling library for Java Swing from Maven using Apache NetBeans IDE. In our previous blog post we looked at how to add the library from a local *.jar file. Now we will load it interactively from Maven. MindFusion’s repositories on Maven can be found at https://search.maven.org/search?q=mindfusion.
In the sections below we will look on how to load the Scheduling library from Maven and use it in a:
- Maven project
- Gradle project
We test that the scheduling library was successfully loaded by showing a simple calendar:
In this blog post we will look at 3 different ways to add the JPlanner.jar library to your project in the NetBeans IDE. The projects are:
- Java Application with Maven
- Java Application wtih Gradle
- Java Appliation with Ant
We assume you have downloaded the JPlanner.jar either with the trial version of Scheduling for Java Swing or with one of the samples.
I. Java Application with Maven
Right click on the “Dependencies” node in your project tree and choose “Add Dependency”:
In this blog post we will show you how to open the sample projects that come with the MindFusion Scheduling library for Java Swing with Apache NetBeans IDE.
The samples for MindFusion JPlanner are available from two sources:
- The download archive, which contains all samples in seperate folders. Each sample links to the planner *.jar file.
- The samples page where the samples can be downloaded separately. Each sample contains the *.jar file of the scheduling library.
By default the sample folders cannot be opened as projects in NetBeans. You should import them with File -> Import Project -> Eclipse Project.
In this blog post we are going to show you how to build this beautiful area chart with two series. We use MindFusion charting library for Java Swing and the AreaChart control that is part of it.
In this blog post we will build the chart that you see in the image below:
The next sections present you with a step-by-step guide how to build this quadratic equations chart from scratch.