# JFoenix **Repository Path**: jkcolin/JFoenix ## Basic Information - **Project Name**: JFoenix - **Description**: JavaFX开源控件集合 - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 18 - **Created**: 2019-10-13 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # JFoenix [![Circle CI](https://img.shields.io/circleci/project/jfoenixadmin/JFoenix/master.svg?style=flat-square)](https://circleci.com/gh/jfoenixadmin/JFoenix/tree/master) * JavaFX Material Design Library [download jar](http://www.jfoenix.com/download/jfoenix.jar) * JFoenix android build [download](http://www.jfoenix.com/download/jfoenix-0.0.0-SNAPSHOT-retrolambda.jar) * [JFoenix Site](http://www.jfoenix.com) # Summary JFoenix is an open source Java library, that implements Google Material Design using Java components. # Build ## Ant To build JFoenix, we created an Ant file named build.xml and build.bat. JFoenix uses Java version **1.8 u60**. Using the command line, you need to move to the JFoenix/make directory and run the batch file build.bat by typing: build.bat To run the main demo, go to the JFoenix/make directory and run the batch file run-demo.bat : run-demo.bat **NOTE** : You need to update the build.bat to point to Java 1.8 and Apache Ant directories. **NOTE** : Linux is also supported. In the make directory, use `./build.sh` and `./run-demo.sh`, respectively. ## Gradle To build JFoenix, execute the following command: gradlew build To run the main demo, execute the following command: gradlew run **NOTE** : You need to set JAVA_HOME environment variable to point to Java 1.8 directory. **NOTE** : JFoenix requires **Java 1.8 u60** and above. # How Can I Use JFoenix? You can download the source code of the library and build it as mentioned previously. Building JFoenix will generate jfoenix.jar under the build/dist folder. To use JFoenix, import jfoenix.jar into your project and start using the new material design Java components :). ## Maven ### How to Include In Project repositories { mavenCentral() } Reference the repository from this location using: dependencies { compile 'com.jfoenix:jfoenix:1.0.0' } # Pics ![Alt text](http://jfoenix.com/gif/button.gif "Button Demo") ![Alt text](http://jfoenix.com/gif/checkbox.gif "Check Box Demo") ![Alt text](http://jfoenix.com/gif/toggle-button.gif "Toggle Buton Demo") ![Alt text](http://jfoenix.com/gif/dialog.gif "Dialog Demo") ![Alt text](http://jfoenix.com/gif/listview.gif "List View Demo") ![Alt text](http://jfoenix.com/gif/nodes-list.gif "Nodes List Demo") ![Alt text](http://jfoenix.com/gif/masonry.gif "Masonry Demo") ![Alt text](http://jfoenix.com/gif/slider.gif "Slider Demo") ![Alt text](http://jfoenix.com/gif/spinner.gif "Spinner Demo") ![Alt text](http://jfoenix.com/gif/icons-snackbar.gif "Icons-Snackbar Demo") ![Alt text](http://jfoenix.com/gif/colorpicker-beta.gif "Color Picker Demo") ![Alt text](http://jfoenix.com/gif/datepicker.gif "Date Picker Demo") ![Alt text](http://jfoenix.com/gif/timepicker.gif "Time Picker Demo") ![Alt text](http://jfoenix.com/gif/treetableview.gif "Tree Table View") ![Alt text](http://jfoenix.com/gif/grouping.gif "Grouping Demo")