Java Material Design Icons from Google
repositories {
maven { url "https://jitpack.io" }
}
dependencies {
compile 'com.github.fcannizzaro:material-icons:0.1.1'
}
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.github.fcannizzaro</groupId>
<artifactId>material-icons</artifactId>
<version>0.1.1</version>
</dependency>
</dependencies>
// as BufferedImage
BufferedImage home = new IconMaterial("home")
.color(Color.BLUE) // optional, default : black
.size(32) // optional, int pixel
.icon();
// as ImageIcon
ImageIcon icon = new IconMaterial("public")
.size(32)
.imageIcon();
See Google Icons for icons name