当前位置: 首页 > 工具软件 > BeautyEye > 使用案例 >

java beautyeye下载_Java Swing BeautyEye L&F简明开发者指南.pdf

鲁德佑
2023-12-01

JavaSwingBeautyEyeL

My favorites ▼ | Sign in

beautyeye

BeautyEye is a Java Swing cross-platform look and feel. Search projects

Project Home Downloads Wiki Issues Source

Search Current pages for Search

Introduction

BeautyEye L&F简明开发者指南.

Featured Updated Dec 30, 2013 by jb2011...@

第⼀步:如何开始?

⾸先把beautyeye_lnf.jarbeautyeye_lnf.jar ⽂件作为lib放⼊你的项⺫并引⽤之.

⺫前,beautyeye_lnf.jarbeautyeye_lnf.jar ⽂件位于all_in_one.zip包中的位置是:all_in_one/dist/

第⼆步:如何使⽤BeautyEye L&F?

加⼊以下代码,即可将你的Java程序界⾯更换成Beauty Eye的外观:

publicpublic staticstatic voidvoid main(StringString[] args)

{

trytry

{

org .jb2011.lnf.beautyeye.BeautyEyeLNFHelperBeautyEyeLNFHelper.launchBeautyEyeLNF();

}

catchcatch(ExceptionException e)

{

//TODO exception

}

你的程序代码

你的程序代码

}

[附录1] :如何定义窗⼝边框类型?

publicpublic staticstatic voidvoid main(StringString[] args)

{

trytry

{

//设置本属性将改变窗⼝边框样式定义

BeautyEyeLNFHelperBeautyEyeLNFHelper.frameBorderStyle = BeautyEyeLNFHelperBeautyEyeLNFHelper.FrameBorderStyleFrameBorderStyle.osLookAndFeelDecorated;

org .jb2011.lnf.beautyeye.BeautyEyeLNFHelperBeautyEyeLNFHelper.launchBeautyEyeLNF();

}

catchcatch(ExceptionException e)

{

//TODO exception

}

你的程序代码

你的程序代码

}

[附录2] :有⼏种窗⼝边框类型?

序 窗⼝边框尖型 代码 BeautyEye中默认 效果图

号 使

 类似资料: