Code Monkey home page Code Monkey logo

littleluck's Introduction

简介

littleluck是Java Swing跨平台外观(LookAndFeel)实现。 它的名字的灵感来源于我喜欢的一首歌 小幸运,在这里把"它"献给所有仍在Swing奋斗的朋友。

功能介绍

  • 窗体使用半透明阴影边框
  • 解决透明窗体字体渲染问题
  • 扁平化界面
  • 滚动条悬浮的滚动面板
  • 使用安卓点九绘图技术
  • 简单且容易扩展
  • 更多...

运行依赖

  • JDK 7+ for littleluck
  • NinePatch for littleluck

快速入门

下载littluck,并添加到你的项目中

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
            }
        }
    }
}

图片预览

JButton

JProgressBar

Text

JToolip

👉 更多截图

Maven

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

联系作者

  • 如有Bug和建议邮箱至 💌 [email protected]
  • 欢迎加入Java技术讨论群 148079860 Java 技术交流群

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.