Giter Club home page Giter Club logo

dashboardfx's Introduction

DashboardFx

This project is part of the set of custom components created for JavaFx.

License

πŸ“‘ Overview

In this example, you can see how components in Javafx can be worked to align with a good design. This lib contains methods to fast understand how JavaFX and properties work. As a dashboard separated as modules, you can see the appearance and properties for controls and layouts, and base classes for implementing pre-build views.

πŸ’» Environment

This lib is a component for JavaFx: Get in the official website JavaFx, Tutorial Getting Started

I have a great workstation here, then I've using a gradle 7.2 and Java and JavaFx +17 on Windows. (I really want to test in other systems in future).

πŸš€ Installing

I really recommend to use jpackage to create your jar and the .exe.
!πŸ—’οΈNote ** The generate you .exe you need the wix tool, you can get the url if you using intellij or from here https://wixtoolset.org πŸ₯Έ*** In intellij or visual studio (in visual you need to prepare the ide to use javafx) it's really simple, only open the tab gradle and run the command build after jpackage.

Using in SceneBuilder

If you want or had an error on opening the fxml files, you need the jar with the custom components, using gradle create a jar and import in your SceneBuilder. ...

β˜• Using Dashboard

Just build and run -(ΒΊ-ΒΊ)- there's no trick.. only use gradle to build and run in your ide. If you have problem, or a tip do an issue. ...

🧬 Basic Structure

+ java
  |-- controllers // your controller class
  |-- core	// dash core.. controls, routes..
  |-- views       // java views build
+ Resources
  |-- style // all stylesheets of this dash
  |-- views // directory of fxml views
  |-- web   // there's a directory used for web contents
  -- views.yml

πŸ“Ί On Youtube

...

πŸ›  Enhancements

...

πŸ“« Contributing to Project

To contributing to project, follow these steps:

  1. Fork this repository.
  2. Creates a branch: git checkout -b <branch_name>.
  3. Do your changes and commit: git commit -m '<commit_message>'
  4. Send a branch to origin: git push origin DashboardFx / <local>
  5. Creates pull request.

However, if you don't know How to create a pull Request.

πŸ˜„ Be a contritubutor

πŸ€–I really need more friends.. Send me a email .

πŸ“ License

This project is under license. See the file LICENSE to more details.

⬆ Back to the top

dashboardfx's People

Contributors

bdw429s avatar gleidsonmt avatar var7600 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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

dashboardfx's Issues

Spring boot

Brother, how would you do to implement Spring boot. would you be so kind to set an example

SVGPath

Where can I get the icons used in SVGPath?

gradlew doesn't work

The gradlew.bat file references the non-existent jar

set CLASSPATH=%APP_HOME%\gradle\wrapper2\gradle-wrapper2.jar

and calls the non-existent main class

org.gradle.wrapper2.GradleWrapperMain

Gradle seems to run if I remove the 2's so was this just some testing that got committed on accident?

Previous Version of Dashboard.fx

I ran previously shared simple javafx project but currently missing some libraries to run that project again. Also it looks like that project has been removed from gihub.

I will be thank full on providing any guidance related to this.

Thank you

Cannot compile

GNCarousel can not find in Carousel.java
LauncherImpl can not find in App.java

I imported your code into IDEA, I can't compile your project, I am missing a lot of things. Can you ask what your build environment is?

Exception in Application start method

Hi, Gleidson28
I have this issue when I try to run the app, I get these exceptions below:
Exception in Application start method

Exception in Application start method
java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:473)
at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:372)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at java.base/sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:1051)
Caused by: java.lang.RuntimeException: Exception in Application start method
at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:973)
at javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:198)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.NoClassDefFoundError: com/sun/javafx/css/converters/PaintConverter
at com.gn.decorator.buttons.Close$StyleableProperties.(Close.java:88)
at com.gn.decorator.buttons.Close.(Close.java:66)
at com.gn.decorator.GNDecorator.(GNDecorator.java:84)
at com.gn.App.start(App.java:41)
at javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(LauncherImpl.java:919)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runAndWait$11(PlatformImpl.java:449)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$9(PlatformImpl.java:418)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:417)
at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
at javafx.graphics/com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at javafx.graphics/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:175)
... 1 more
Caused by: java.lang.ClassNotFoundException: com.sun.javafx.css.converters.PaintConverter
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:583)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 13 more
Exception running application com.gn.App

Can't open some .fxml files in Scene Builder

It seems that Scene Builder can't open some .fxml files in this project ,eg. Carousel.fxml. I found that this seems to be due to the fact that scene builder does not recognize the components in GNCarousel. Please tell me how you solved this problem.

How do you run this demo app?

I feel sort of silly here, but I'm 100% new to JavaFX and only a little familiar with Gradle and I can't even figure out how to run this app, lol. The readme doesn't really cover this, so I've tried running all sorts of Gradle tasks, but they all either error or do nothing. gradlew test for example fails on a clean clone of the repo.

Error occurred during initialization of boot layer
java.lang.RuntimeException: Unable to parse --add-opens <module>/<package>: io.github.gleidsonmt.dashboardfx/

I was able to create a DashboardFx-1.0.jar with gradlew jar, but I have no idea how to run it. JavaFx's docs say gradlew run should work, but that errors

Execution failed for task ':run'.
> 'java.lang.String org.gradle.api.tasks.JavaExec.getMain()'

Running gradlew build returns the same error as above.

I tried running the jar with java -jar, but there is no main class in the manifest. So I tried running it with

java -cp build\libs\DashboardFx-1.0.jar io.github.gleidsonmt.dashboardfx.Start

but that just errors with

Error: Could not find or load main class io.github.gleidsonmt.dashboardfx.Start
Caused by: java.lang.NoClassDefFoundError: javafx/application/Application

so there's clearly more needed. Sorry if this is a silly question, but I have no earthly idea what magic thing I need to do just to get this up and running to play with it. Thanks!

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.