Code Monkey home page Code Monkey logo

weblaf's Introduction

WebLaF

WebLaf is a Java Swing Look and Feel and extended components library for cross-platform applications.
Preview

Main advantages of WebLaF library:

  1. Simple and stylish cross-platform default theme
  2. Lots of additional custom Swing components
  3. UIs and components easily stylable through painters
  4. Settings, language, hotkey, tooltip and other custom managers
  5. Various Swing and Java utilities for specific cases
  6. Both LTR and RTL component orientations supported

You can find more information about the library on official site:
http://weblookandfeel.com

Artifacts

You can always find all WebLaF artifacts in the "releases" section:
https://github.com/mgarin/weblaf/releases

Here are the direct links for the latest release:

  1. weblaf-1.24.jar - library jar
  2. weblaf-simple-1.24.jar - library jar without dependencies
  3. weblaf-src-1.24.zip - project sources zip
  4. weblaf-demo-1.24.jar - executable demo jar
  5. weblaf-javadoc-1.24.zip - JavaDoc zip
  6. ninepatch-editor-1.24.jar - executable 9-patch editor jar

Roadmap

You can always check what fixes, features and improvements are coming by checking the milestones page:
https://github.com/mgarin/weblaf/issues/milestones

Building

To build various WebLaF artifacts you will need Java 1.6 (update 30 or later) or Java 1.7 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, build all artifacts at once
  2. build.weblaf.jar -> weblaf-x.xx.jar - build WebLaF binary
  3. build.weblaf.simple.jar -> weblaf-simple-x.xx.jar - build WebLaF binary without dependencies
  4. build.sources.zip -> weblaf-src-x.xx.zip - build WebLaF sources zip archive
  5. build.npe.jar -> ninepatch-editor-x.xx.jar - build 9-patch editor application
  6. build.weblaf.demo.jar -> weblaf-demo-x.xx.jar - build WebLaF demo application
  7. build.javadoc -> weblaf-javadoc-x.xx.zip & javadoc - create zipped and unzipped library JavaDoc
  8. run.npe -> build and run ninepatch-editor-x.xx.jar - 9-patch editor application
  9. run.weblaf -> build and run weblaf-x.xx.jar - library information dialog
  10. run.weblaf.demo -> build and run weblaf-demo-x.xx.jar - demo application

Example Usage

To install WebLaF you can simply call install() or use one of standard Swing L&F set methods:

public class WebLafUsage
{
    public static void main ( String[] args )
    {
        // You should work with UI (including installing L&F) inside EDT
        SwingUtilities.invokeLater ( new Runnable ()
        {
            public void run ()
            {
                // Install WebLaF as application L&F
                WebLookAndFeel.install ();

                // You can also do that using standard Swing methods:
                // UIManager.setLookAndFeel ( new WebLookAndFeel () );
                // UIManager.setLookAndFeel ( "com.alee.laf.WebLookAndFeel" );
                // UIManager.setLookAndFeel ( WebLookAndFeel.class.getCanonicalName () );

                // Create you Swing application here
                // JFrame frame = ...
            }
        } );
    }
}

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]

weblaf's People

Contributors

mgarin avatar ndandoulakis avatar nmagre avatar

Stargazers

Wade avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.