GithubHelp home page GithubHelp logo

jfree / jfree-fxdemos Goto Github PK

View Code? Open in Web Editor NEW
46.0 46.0 15.0 888 KB

This project contains JavaFX demo programs for the libraries created by JFree.

License: BSD 3-Clause "New" or "Revised" License

Java 93.61% HTML 6.39%
java java2d javafx javafx-demos

jfree-fxdemos's People

Contributors

jfree avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

jfree-fxdemos's Issues

Update dependencies of this project

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>

Warning: Module name not found in main class

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

No JFree Charts shown in Demo App

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

Unable to run demo: dependencies do not exist

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

  • jfreechart is 1.5
  • jfreechart-fx is 1.0.1

So how to resolve dependencies?
Should I add some specific maven repository?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.