当前位置: 首页>>代码示例>>Java>>正文


Java SubstanceOfficeBlue2007LookAndFeel类代码示例

本文整理汇总了Java中org.jvnet.substance.skin.SubstanceOfficeBlue2007LookAndFeel的典型用法代码示例。如果您正苦于以下问题:Java SubstanceOfficeBlue2007LookAndFeel类的具体用法?Java SubstanceOfficeBlue2007LookAndFeel怎么用?Java SubstanceOfficeBlue2007LookAndFeel使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


SubstanceOfficeBlue2007LookAndFeel类属于org.jvnet.substance.skin包,在下文中一共展示了SubstanceOfficeBlue2007LookAndFeel类的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: main

import org.jvnet.substance.skin.SubstanceOfficeBlue2007LookAndFeel; //导入依赖的package包/类
public static void main(String[] args) {
	JFrame.setDefaultLookAndFeelDecorated(true);
	JDialog.setDefaultLookAndFeelDecorated(true);
	try {
		UIManager.setLookAndFeel(new SubstanceOfficeBlue2007LookAndFeel());
	} catch (UnsupportedLookAndFeelException e) {
		e.printStackTrace();
	}
       System.out.println(111);
	initSetting();
	MenuFrame.open();
}
 
开发者ID:zhangjikai,项目名称:LinkGame,代码行数:13,代码来源:Main.java

示例2: UseLookAndFeelBySubstance

import org.jvnet.substance.skin.SubstanceOfficeBlue2007LookAndFeel; //导入依赖的package包/类
/**
 * 使用第三方外观包
 * <br/>需在Jframe创建之前调用
 * <li>需导入substance.jar
 * <li>设置主题 SubstanceLookAndFeel.setCurrentTheme(new SubstanceCremeTheme());
 * <li>设置按钮外观 SubstanceLookAndFeel.setCurrentButtonShaper(new StandardButtonShaper());
 * <li>设置边框 SubstanceLookAndFeel.setCurrentBorderPainter(new StandardBorderPainter());
 * <li>设置渐变渲染 SubstanceLookAndFeel.setCurrentGradientPainter(new StandardGradientPainter());  
 * <li>设置标题 SubstanceLookAndFeel.setCurrentTitlePainter(new MatteHeaderPainter()); 
 * <li>设置水印 SubstanceOfficeBlue2007LookAndFeel.setCurrentWatermark(new SubstanceMarbleVeinWatermark());
 * @return SubstanceOfficeBlue2007LookAndFeel 外观包操作对象,可继续扩展
 * @see UI#UseLookAndFeelBySubstance(InputStream, float)
 */
public SubstanceOfficeBlue2007LookAndFeel UseLookAndFeelBySubstance(){
	return UseLookAndFeelBySubstance(null, 0);
}
 
开发者ID:xnx3,项目名称:xnx3,代码行数:17,代码来源:UI.java


注:本文中的org.jvnet.substance.skin.SubstanceOfficeBlue2007LookAndFeel类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。