Uploaded September 2018 | Updated November 2026, 1 day ago
Ikonli is an icon library that provides customizable icons. Ikonli provides icon packs that can be used in Java applications, currently Swing and JavaFX are supported.
This tutorial talk about using ikonli in swing based applications. You will see how to use Ikonli icons with JLabel and JOptionPane.
Ikonli-swing is available for using with java swing GUI toolkit. Traditionally adding an icon to swing ui is hard since we have to create a label, an image and attach that image to the label. If we later want to change the color or size of the image, we have to get new image.
With ikonli, it is possible to create dynamic, high quality icons that can be used in almost anywhere in Java swing. It provides the common font class org.kordamp.ikonli.swing.FontIcon which can be used with any plugged-in font packs.
Currently available font packs are:-
DashIcons
DevIcons
Elusive
Feather
FontAwesome
FontAwesome5
Fontelico
Foundation
HawconsFilled
HawconsStroke
Icomoon
Ionicons
Ionicons
Ligature
Maki
Maki2
Mapicons
Material
MaterialDesign
Metrizeicons
Octicons
OpenIconic
RunestroIcons
Themify
Typicons
Weathericons
Websymbols
Ikonli webpage: aalmiray.github.io/ikonli
Code is available in GitHub: github.com/afsalashyana/JavaFX-Tutorial-Codes/tree/master/Ikonli%20with%20Java%20Swing
Genuine Coder
genuinecoder.com
Ikonli is an icon library that provides customizable icons. Ikonli provides icon packs that can be used in Java applications, currently Swing and JavaFX are supported.
This tutorial talk about using ikonli in swing based applications. You will see how to use Ikonli icons with JLabel and JOptionPane.
Ikonli-swing is available for using with java swing GUI toolkit. Traditionally adding an icon to swing ui is hard since we have to create a label, an image and attach that image to the label. If we later want to change the color or size of the image, we have to get new image.
With ikonli, it is possible to create dynamic, high quality icons that can be used in almost anywhere in Java swing. It provides the common font class org.kordamp.ikonli.swing.FontIcon which can be used with any plugged-in font packs.
Currently available font packs are:-
DashIcons
DevIcons
Elusive
Feather
FontAwesome
FontAwesome5
Fontelico
Foundation
HawconsFilled
HawconsStroke
Icomoon
Ionicons
Ionicons
Ligature
Maki
Maki2
Mapicons
Material
MaterialDesign
Metrizeicons
Octicons
OpenIconic
RunestroIcons
Themify
Typicons
Weathericons
Websymbols
Ikonli webpage: aalmiray.github.io/ikonli
Code is available in GitHub: github.com/afsalashyana/JavaFX-Tutorial-Codes/tree/master/Ikonli%20with%20Java%20Swing
Genuine Coder
genuinecoder.com










