![JAR search and dependency download from the Maven repository](/logo.png)
freeseawind.lf.basic.internalframe.LuckInternalFrameUI 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
package freeseawind.lf.basic.internalframe;
import javax.swing.JComponent;
import javax.swing.JInternalFrame;
import javax.swing.LookAndFeel;
import javax.swing.plaf.ComponentUI;
import javax.swing.plaf.basic.BasicInternalFrameUI;
/**
* 内部窗体UI实现, 设置组件为不完全透明,使用自定义标题面板。
*
* 另请参见: {@link LuckInternalFrameTitlePane}, {@link LuckInternalFrameUIBundle}
*
*
* @author freeseawind@github
* @version 1.0
*
*/
public class LuckInternalFrameUI extends BasicInternalFrameUI
{
public LuckInternalFrameUI(JInternalFrame b)
{
super(b);
}
public static ComponentUI createUI(JComponent b)
{
return new LuckInternalFrameUI((JInternalFrame) b);
}
public void installUI(JComponent c)
{
super.installUI(c);
LookAndFeel.installProperty(frame, "opaque", Boolean.FALSE);
}
protected JComponent createNorthPane(JInternalFrame w)
{
titlePane = new LuckInternalFrameTitlePane(w);
return titlePane;
}
protected void installComponents()
{
super.installComponents();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy