![JAR search and dependency download from the Maven repository](/logo.png)
freeseawind.lf.basic.toolbar.LuckToolBarUI Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of littleluck Show documentation
Show all versions of littleluck Show documentation
Java Swing cross platform LookAndFeel
The newest version!
package freeseawind.lf.basic.toolbar;
import javax.swing.JComponent;
import javax.swing.LookAndFeel;
import javax.swing.plaf.ComponentUI;
import javax.swing.plaf.basic.BasicToolBarUI;
/**
*
* LuckToolBarUI实现类,设置组件为不完全透明。
*
*
*
* A LuckToolBarUI implementation class, setting the component is not completely
* transparent.
*
*
* @author freeseawind@github
* @version 1.0
*/
public class LuckToolBarUI extends BasicToolBarUI
{
public static ComponentUI createUI( JComponent c )
{
return new LuckToolBarUI();
}
public void installUI( JComponent c )
{
super.installUI(c);
LookAndFeel.installProperty(c, "opaque", Boolean.FALSE);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy