![JAR search and dependency download from the Maven repository](/logo.png)
freeseawind.lf.basic.scroll.LuckScrollPaneUI 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.scroll;
import javax.swing.JComponent;
import javax.swing.JScrollPane;
import javax.swing.LookAndFeel;
import javax.swing.plaf.ComponentUI;
import javax.swing.plaf.basic.BasicScrollPaneUI;
/**
*
* ScrollPaneUI实现类,设置组件为不完全透明。
*
*
*
* The ScrollPaneUI implementation class sets the component to be completely
* transparent.
*
*
* @author freeseawind@github
* @version 1.0
*
*/
public class LuckScrollPaneUI extends BasicScrollPaneUI
{
public static ComponentUI createUI(JComponent x)
{
return new LuckScrollPaneUI();
}
protected void installDefaults(JScrollPane scrollpane)
{
super.installDefaults(scrollpane);
LookAndFeel.installProperty(scrollpane, "opaque", Boolean.FALSE);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy