WebLaf (Web Look and Feel) is a Java Look and Feel library for cross-platform Swing applications.
Its main advantages are:
- Simple and yet stylish default theme applied to all components
- Stylable through painters and nine-patch resources UIs
- Various extended components - collapsible panes, checkbox lists and others
- Various managers to simply control application settings, language, tooltips, hotkeys and other aspects
- Various utility classes which simplify Swing components usage
- Various Swing extensions that allows animated transitions, effects and other features
You can find more information about the library on official site: http://weblookandfeel.com
All library artifacts could be found in "artifacts" folder within the project.
Here are direct links:
- WebLookAndFeel-1.13.jar - library jar
- WebLookAndFeel-demo-1.13.jar - executable demo jar
- WebLookAndFeel-nolib-1.13.jar - library jar w/o 3rd party libraries
- NinePatchEditor-1.13.jar - executable 9patch editor jar
- Sources-1.13.zip - project sources zip
- JavaDoc-1.13.zip - JavaDoc zip
To build various WebLaF artifacts you will need Java 1.6 update 20 (or later) and [Apache ANT] (http://ant.apache.org/).
Simply run ant
command within the "build" library folder to build all artifacts at once.
Here is a full list of usable ANT targets in WebLaF build script:
- build.artifacts - default target, builds all artifacts at once
- build.sources.zip - builds Sources.zip and saves it into artifacts folder
- build.weblaf.jar - builds WebLookAndFeel.jar and saves it into artifacts folder
- build.npe.jar - builds NinePatchEditor.jar and saves it into artifacts folder
- build.weblaf.demo.jar - builds WebLookAndFeel_demo.jar and saves it into artifacts folder
- build.javadoc - creates library zipped and unzipped JavaDoc versions inside artifacts folder
- run.npe - build and run NinePatchEditor.jar (Nine-Patch Editor application)
- run.weblaf - build and run WebLookAndFeel.jar (library information dialog)
- run.weblaf.demo - build and run WebLookAndFeel_demo.jar (library demo application)
To install Web L&F you can simply use this line of code:
WebLookAndFeel.install ();
You can also use one of the old ways to set L&F:
UIManager.setLookAndFeel ( new WebLookAndFeel () );
// or
UIManager.setLookAndFeel ( "com.alee.laf.WebLookAndFeel" );
// or
UIManager.setLookAndFeel ( WebLookAndFeel.class.getCanonicalName () );
I would really appreciate if you will post any found bugs in issues section here, on GitHub.
You can also post them on the library official site forum, but that would require registration.
And, as always, you can send any feedback directly to my email: [email protected]