读书人

Swinghacks抗锯齿字体三

发布时间: 2013-03-01 18:33:02 作者: rapoo

Swinghacks——抗锯齿字体3

上 两篇文章介绍的方法都不能算最好的实现抗锯齿字体的方法,看看大师是怎么做的

Frédéric Lavigne, author of the famous Skin L&F and webmaster of www.javootoo.com, a great repository of Look and Feels for Swing, didn't think so and found an elegant and clever way to get the same result

好吧,简单起见,jar包下载地址

http://download.csdn.net/detail/laizhenhai88/5094403

只要在代码里:

import com.l2fprod.common.swing.plaf.wrap.Wrapper;
Wrapper.wrap();

不论你用何种look and feel,wrap会重新装饰它,然后实现抗锯齿字体

读书人网 >编程

热点推荐