freeseawind / littleluck Goto Github PK
View Code? Open in Web Editor NEWA cross platform Java Swing LookAndFeel
License: Apache License 2.0
A cross platform Java Swing LookAndFeel
License: Apache License 2.0
使用非默认的rootpanel 的时候:
UIManager.put(LuckUIClassKey.ROOTPANEUI, LuckMetalRootPaneUI.class.getName());
会出现组件下移的情况
然后还有menubar设置为空, 但是会出现一条线的bug
When editing the file name of the font overlap
焦点的优先级冲突,弹出一个窗口的时候,鼠标移动到窗口上,窗口就会获得焦点而顶置。然后原生的不会。
the comp is not show, use the following code:
frame.setVisible(true);
frame.getContentPane().add(comp);
应为如下
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
}
}); //示例中此处有误
}
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.