Xerosigma/JFoenix


JavaFX Material Design Library

Download


Step 1. Add the JitPack repository to your build file

Add it in your root settings.gradle at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url 'https://jitpack.io' }
		}
	}

Add it in your settings.gradle.kts at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url = uri("https://jitpack.io") }
		}
	}

Add to pom.xml

	<repositories>
		<repository>
		    <id>jitpack.io</id>
		    <url>https://jitpack.io</url>
		</repository>
	</repositories>

Add it in your build.sbt at the end of resolvers:

 
    resolvers += "jitpack" at "https://jitpack.io"
        
    

Add it in your project.clj at the end of repositories:

 
    :repositories [["jitpack" "https://jitpack.io"]]
        
    

Step 2. Add the dependency

	dependencies {
		implementation 'com.github.Xerosigma:jfoenix:1.0.0'
	}
	dependencies {
		implementation("com.github.Xerosigma:jfoenix:1.0.0")
	}
	<dependency>
	    <groupId>com.github.Xerosigma</groupId>
	    <artifactId>jfoenix</artifactId>
	    <version>1.0.0</version>
	</dependency>

                            
    libraryDependencies += "com.github.Xerosigma" % "jfoenix" % "1.0.0"
        
        

                            
    :dependencies [[com.github.Xerosigma/jfoenix "1.0.0"]]
        
        

Readme


JFoenix

Circle CI

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 :).

Pics

Alt text

Alt text

Alt text

Alt text

Alt text

Alt text

Alt text

Alt text

Alt text

Alt text

Alt text

Alt text

Alt text

Alt text

Alt text