FontAwesome fonts for Java

Easily integrate FontAwesome into your Java / JavaFX applications

License

License

GroupId

GroupId

com.cathive.fonts
ArtifactId

ArtifactId

fonts-fontawesome
Last Version

Last Version

3.2.1.0
Release Date

Release Date

Type

Type

bundle
Description

Description

FontAwesome fonts for Java
Easily integrate FontAwesome into your Java / JavaFX applications
Project URL

Project URL

http://fontawesome.io/
Project Organization

Project Organization

The Cat Hive Developers
Source Code Management

Source Code Management

https://github.com/cathive/fonts-fontawesome/

Download fonts-fontawesome

Dependencies

test (1)

Group / Artifact Type Version
org.testng : testng jar 6.8

Project Modules

There are no modules declared in this project.

Font Awesome by Dave Gandy: http://fontawesome.io/

Font Awesome gives you scalable vector icons that can instantly be customized — size, color, drop shadow, and anything that can be done with the power of CSS.

This library provides a bundled version of these fonts that can easily be used in your Java/JavaFX-based applications.

Screenshot

A compiled and ready-to-use version of this library can be found in the Sonatype OSS Maven Repository (oss.sonatype.org). To use the library in your Maven based projects just add the following lines to your 'pom.xml':

<dependency>
  <groupId>com.cathive.fonts</groupId>
  <artifactId>fonts-fontawesome</artifactId>
  <version>${fonts-fontawesome.version}</version>
</dependency>

You can directly use the FontAwesome icons in your JavaFX application. Use instances of com.cathive.fonts.FontAwesomeIconView — either construct them programatically or embed them into your FXML sources:

<?xml version="1.0" encoding="UTF-8"?>
<!--
  This example shows three different buttons (stop, play and pause)
  whose graphic components (icons) are rendered using the FontAwesome
  icons.
  -->
<?import javafx.scene.control.Button?>
<?import javafx.scene.layout.HBox?>
<?import com.cathive.fonts.fontawesome.FontAwesomeIconView?>
<HBox xmlns:fx="http://javafx.com/fxml">
  <children>
    <Button text="Stop">
      <graphic>
        <FontAwesomeIconView icon="ICON_STOP"/>
      </graphic>
    </Button>
    <Button text="Play">
      <graphic>
        <FontAwesomeIconView icon="ICON_PLAY"/>
      </graphic>
    </Button>
    <Button text="Pause">
      <graphic>
        <FontAwesomeIconView icon="ICON_PAUSE"/>
      </graphic>
    </Button>
  </children>
</HBox>
com.cathive.fonts

The Cat Hive Developers

Versions

Version
3.2.1.0