How To Enable Anti-Aliased Globally Since JDK 5

GD Star Rating
loading...

I just read “Swing Hacks” and find it is that easy to enable anti-aliased since JDK 5.  Just add a one-line code listed below at the very beginning of your whole application

  1. System.setProperty("swing.aatext", "true");
System.setProperty("swing.aatext", "true");

That’s all

原创内容,转载请注明: 转载自拈花微笑

本文链接地址: How To Enable Anti-Aliased Globally Since JDK 5

685

发表评论

电子邮件地址不会被公开。 必填项已用 * 标注

*

您可以使用这些 HTML 标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code lang=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" extra="">

:wink: :-| :-x :twisted: :) 8-O :( :roll: :-P :oops: :-o :mrgreen: :lol: :idea: :-D :evil: :cry: 8) :arrow: :-? :?: :!:

使用新浪微博登陆

无觅相关文章插件,快速提升流量