Skip to content

astrapi69/silk-icon-theme

Repository files navigation

Overview

Build Status Open Issues Maven Central Donate

Basic set of desktop icons for java swing or FX application.

The original icons are from this website and designed from Mark James.

If you like this project put a ⭐ and donate

Note

No animals were harmed in the making of this library.

Donations

This project is kept as an open source product and relies on contributions to remain being developed. If you like this library, please consider a donation

over paypal:

PayPal this

or over bitcoin(BTC) with this address:

bc1ql2y99q7e8psndhcc3gferk03esw3qqf677rhjy

Donation Bitcoin Wallet

or over FIO with this address:

FIO7tFMUVAA9cHiPPqKMfMXiSxHrbpiFyRYqTketNuM67aULuwjop

Donation FIO Wallet

or over Ethereum(ETH) with:

0xc057D159D3C8f3311E73568b334FF6fE82EB2b7D

Donation Ethereum Wallet

or over Ethereum Classic(ETC) with:

0xF708cA86D86C246B69c3F4BAe431eBbe0c2bfddD

Donation Ethereum Classic Wallet

or over Dogecoin(DOGE) with:

D5yi4Um8cpakd6yPRm2hGWuQ5nrVzhSSW1

Donation Dogecoin Wallet

or over Monero(XMR) with:

49bqeRQ7Bf49oJFVC72pqpe5hFbb62pfXDYPdLsadGGF81KZW2ZfrPZ8PbAVu5X2v1TYAspeczMya3cYQysNS4usRRPQHVw

Donation Monero Wallet

License

The source code comes under the Creative Commons Attribution 2.5 License, making silk-icon-theme great for all types of applications.

Load icons

You can load your icons in your application as follows:

    ImageIcon applicationAdd = ImageIconFactory
                             .newImageIcon("io/github/astrapi69/silk/icons/application_add.png");
	JButton btnApplicationAdd = IconButtonFactory.newIconButton(applicationAdd, "New application");

The classes ImageIconFactory and IconButtonFactory are helper classes that are defined in the test resources

Maven dependency

Maven dependency is now on sonatype. Check out sonatype repository for latest snapshots and releases.

Add the following maven dependency to your project pom.xml if you want to import the core functionality of silk-icon-theme:

Than you can add the dependency to your dependencies:

<properties>
		...
	<!-- silk-icon-theme version -->
	<silk-icon-theme.version>1</silk-icon-theme.version>
		...
</properties>
		...
	<dependencies>
		...
		<!-- silk-icon-theme DEPENDENCY -->
		<dependency>
			<groupId>io.github.astrapi69</groupId>
			<artifactId>silk-icon-theme</artifactId>
			<version>${silk-icon-theme.version}</version>
		</dependency>
		...
	</dependencies>

gradle dependency

You can first define the version in the ext section and add than the following gradle dependency to your project build.gradle if you want to import the core functionality of silk-icon-theme:

define version in file gradle.properties

silkIconThemeVersion=1

or in build.gradle ext area

ext {
			...
    silkIconThemeVersion = "1"
			...
}

and than add the dependency to the dependencies area

dependencies {
			...
    implementation("io.github.astrapi69:silk-icon-theme:$silkIconThemeVersion")
			...
}

Semantic Versioning

The versions of silk-icon-theme are maintained with the Semantic Versioning guidelines.

Release version numbers will be incremented in the following format:

<major>.<minor>.<patch>

For detailed information on versioning you can visit the wiki page.

Want to Help and improve it?

The source code for silk-icon-theme are on GitHub. Please feel free to fork and send pull requests!

Create your own fork of astrapi69/silk-icon-theme/fork

To share your changes, submit a pull request.

Don't forget to add new units tests on your changes.

Contacting the Developers

Do not hesitate to contact the silk-icon-theme developers with your questions, concerns, comments, bug reports, or feature requests.

  • Feature requests, questions and bug reports can be reported at the issues page.

Credits

Special thanks to Mark James the origin creator of the icons