Skip to content

Latest commit

 

History

History
80 lines (60 loc) · 2.36 KB

README_en.md

File metadata and controls

80 lines (60 loc) · 2.36 KB

Introduction

littleluck is a cross platform Java Swing LookAndFeel. Its name inspired by a song I like 小幸运, where the "it" is dedicated to all the friends who are still struggling Swing.

Features

  • Translucent shadow window border
  • ClearType for translucent window
  • Flattening interphase support
  • Suspension scrollbar for scrollpane
  • Android ninepatch draw support
  • Simple and easy extension
  • Much more...

Minimum requirements

  • JDK 7+ for littleluck
  • NinePatch for littleluck

Quick Start

Download littluck, Add it to you project.

Startup.java

public class Startup
{
    public static void main(String[] args)
    {
        // if open it close
        // System.setProperty("awt.useSystemAAFontSettings", "on");

        EventQueue.invokeLater(new Runnable()
        {
            public void run()
            {
                try
                {
                     UIManager.setLookAndFeel(LittleLuckLookAndFeel.class.getName());
                }
                catch (Exception e)
                {
                    e.printStackTrace();
                }
                
                ........
                
                //your code
            }
        }
    }
}

Preview

JButton

JProgressBar

Text

JToolip

👉 more

Maven

<dependency>
  <groupId>com.github.freeseawind</groupId>
  <artifactId>littleluck</artifactId>
  <version>2.0.1</version>
</dependency>

Contact