Skip to content

wille/iconlib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

iconlib

Made this small library because I use this in almost all my GUI applications

Contains quick methods for getting resources as icons and caching them in memory

Examples

Getting an icon

JLabel label = new JLabel("Example");
label.setIcon(IconUtils.getIcon("icon")); // icon located in resource /icons/icon.png

Getting an icon from another resource location

JLabel label = new JLabel("Example");
label.setIcon(IconUtils.getIcon("/folder/image.png", false)); // icon located in resource /folder/image.png

About

Icon utilities

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages