radiance-theming
for build instructions of the latest stable release.
In addition, snapshot artifacts of tip-of-tree are available on Sonatype for Maven and Gradle builds.
You can also build Radiance locally:
- Download the latest bits for Radiance from Github.
- Consult
version
string in the top-levelbuild.gradle
file. The rest of the instructions treat the current version as X.Y.ZZ. - Build Radiance locally with Gradle.
- Copy the binaries from
drop/X.Y.ZZ/core
. Specifically, add radiance-theming-X.Y.ZZ.jar, radiance-animation-X.Y.ZZ.jar and radiance-common-X.Y.ZZ.jar to the place that has your local dependencies.
For earlier versions of Radiance, see this page for the list of binaries to take for the specific pre-Radiance versions.
You have these options to use Radiance in your application:
- Call
UIManager.setLookAndFeel()
with one of the skin-based look-and-feel classes (light or dark). - Use the static
setSkin(RadianceSkin)
orsetSkin(String)
APIs inRadianceThemingCortex.GlobalScope
to set the specific skin. - Extend the
RadianceLookAndFeel
class and pass aRadianceSkin
instance to the super constructor. Then callUIManager.setLookAndFeel()
API.