jfree / jfree-fxdemos Goto Github PK
View Code? Open in Web Editor NEWThis project contains JavaFX demo programs for the libraries created by JFree.
License: BSD 3-Clause "New" or "Revised" License
This project contains JavaFX demo programs for the libraries created by JFree.
License: BSD 3-Clause "New" or "Revised" License
Maven dependencies of this project is obsolete and project can't build. I could fix it by update maven dependencies and module-info.java files
* Demo programs that showcase JavaFX libraries from JFree.
*/
module org.jfree.fx.demos {
requires java.logging;
requires java.desktop;
requires javafx.controls;
requires javafx.graphics;
requires javafx.web;
requires org.jfree.chart3d;
requires org.jfree.chart3d.fx;
requires org.jfree.pdf;
requires org.jfree.svg;
requires org.jfree.jfreechart;
//requires org.jfree.chart.fx;
//requires org.jfree.fxgraphics2d;
exports org.jfree.chart3d.fx.demo;
exports org.jfree.chart.fx.demo;
exports org.jfree.fx.demo;
}
<dependency>
<groupId>org.jfree</groupId>
<artifactId>jfreechart</artifactId>
<version>1.5.1</version>
</dependency>
<dependency>
<groupId>org.jfree</groupId>
<artifactId>jfreechart-fx</artifactId>
<version>1.0.1</version>
</dependency>
When executing the command mvn javafx:run
, the javafx-maven-plugin
produces the following: [WARNING] Module name not found in <mainClass>. Module name will be assumed from module-info.java
. The mainClass
configuration attribute is the "fully qualified name, with or without module name." While the warning can be safely ignored, adding the module name eliminates the warning:
- <mainClass>org.jfree.chart3d.fx.demo.OrsonChartsFXDemo</mainClass>
+ <mainClass>org.jfree.fx.demos/org.jfree.chart3d.fx.demo.OrsonChartsFXDemo</main
Following your great presentation in Zürich, I wanted to try out the JFree Charts and thus cloned this project.
However, when I build it (mvn package) und then call:
java -cp target/jfree-fxdemos-1.1-SNAPSHOT-jar-with-dependencies.jar -jar target/jfree-fxdemos-1.1-SNAPSHOT-jar-with-dependencies.jar
only the Orson charts will appear in the Demo application
Hi,
I have cloned repo and executed mvn javafx:run
in master branch but got the error:
[ERROR] Failed to execute goal on project org.jfree.fx.demos: Could not resolve dependencies for project org.jfree:org.jfree.fx.demos:jar:2.0: The following artifacts could not be resolved: org.jfree:jfreechart:jar:1.6.0-SNAPSHOT, org.jfree:jfreechart-fx:jar:2.0-SNAPSHOT: Could not find artifact org.jfree:jfreechart:jar:1.6.0-SNAPSHOT -> [Help 1]
I have checked in maven central repo: last published version for
So how to resolve dependencies?
Should I add some specific maven repository?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.