Skip to content
forked from mgarin/weblaf

WebLaF is a Java Look and Feel library for cross-platform Swing applications.

Notifications You must be signed in to change notification settings

julianseeger/weblaf

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebLaF

WebLaf (Web Look and Feel) is a Java Look and Feel library for cross-platform Swing applications.

Its main advantages are:

  1. Simple and yet stylish default theme applied to all components
  2. Stylable through painters and nine-patch resources UIs
  3. Various extended components - collapsible panes, checkbox lists and others
  4. Various managers to simply control application settings, language, tooltips, hotkeys and other aspects
  5. Various utility classes which simplify Swing components usage
  6. 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

Artifacts

All library artifacts could be found in "artifacts" folder within the project.

Here are direct links:

  1. WebLookAndFeel-1.13.jar - library jar
  2. WebLookAndFeel-demo-1.13.jar - executable demo jar
  3. WebLookAndFeel-nolib-1.13.jar - library jar w/o 3rd party libraries
  4. NinePatchEditor-1.13.jar - executable 9patch editor jar
  5. Sources-1.13.zip - project sources zip
  6. JavaDoc-1.13.zip - JavaDoc zip

Building

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:

  1. build.artifacts - default target, builds all artifacts at once
  2. build.sources.zip - builds Sources.zip and saves it into artifacts folder
  3. build.weblaf.jar - builds WebLookAndFeel.jar and saves it into artifacts folder
  4. build.npe.jar - builds NinePatchEditor.jar and saves it into artifacts folder
  5. build.weblaf.demo.jar - builds WebLookAndFeel_demo.jar and saves it into artifacts folder
  6. build.javadoc - creates library zipped and unzipped JavaDoc versions inside artifacts folder
  7. run.npe - build and run NinePatchEditor.jar (Nine-Patch Editor application)
  8. run.weblaf - build and run WebLookAndFeel.jar (library information dialog)
  9. run.weblaf.demo - build and run WebLookAndFeel_demo.jar (library demo application)

Usage

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 () );

Feedback

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]

About

WebLaF is a Java Look and Feel library for cross-platform Swing applications.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published