LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-31-2007, 01:57 PM   #1
BuilderQ
Member
 
Registered: Sep 2007
Distribution: Xubuntu 8.04
Posts: 35

Rep: Reputation: 15
Java Swing anti-aliasing


Can I enable system-wide anti-aliasing of Java Swing applications? I use IceWM as my windows manager, and it as well as my GTK and QT apps are anti-aliased, so I'd like a consistent look.

My Java version is 1.6.0_03. On a Windows XP computer on which I just installed the same Java version, Swing apps appear to be anti-aliased (even though native apps aren't, except when showing large font sizes). (Another question, probably improper for this forum, would be how to enable anti-aliasing--NOT sub-pixel--for regular font sizes on XP.)

Last edited by BuilderQ; 12-31-2007 at 01:58 PM.
 
Old 01-01-2008, 08:35 AM   #2
nan0meter
Member
 
Registered: Aug 2007
Location: The Netherlands
Distribution: Fedora 7 x86_64
Posts: 119

Rep: Reputation: 15
To answer your first question, the only way i know to anti-alias everything is to use an OpenGL desktop like compiz-fusion or xcompmgr and in your graphics driver configuration set anti-aliasing to a level you want it to be.

I know that with the nvidia driver you can configure this with nvidia-settings

Last edited by nan0meter; 01-01-2008 at 01:30 PM.
 
Old 01-02-2008, 12:22 PM   #3
BuilderQ
Member
 
Registered: Sep 2007
Distribution: Xubuntu 8.04
Posts: 35

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by nan0meter View Post
To answer your first question, the only way i know to anti-alias everything is to use an OpenGL desktop like compiz-fusion or xcompmgr and in your graphics driver configuration set anti-aliasing to a level you want it to be.

I know that with the nvidia driver you can configure this with nvidia-settings
Thanks for the reply, but I doubt my old Matrox MGA-G200 AGP video card is very well suited for that. I was hoping to find some setting to configure in the JVM.
 
Old 01-03-2008, 11:20 AM   #4
nan0meter
Member
 
Registered: Aug 2007
Location: The Netherlands
Distribution: Fedora 7 x86_64
Posts: 119

Rep: Reputation: 15
I never worked with Matrox cards and i don't think they are supported with compiz-fusion. If you can change the graphics settings like you can with nvidia to change the anti-aliasing then you can try to run xcompmgr to see if everything is anti-aliased.

But won't things get slow with that card if everything is anti-aliased?
 
Old 01-03-2008, 02:17 PM   #5
BuilderQ
Member
 
Registered: Sep 2007
Distribution: Xubuntu 8.04
Posts: 35

Original Poster
Rep: Reputation: 15
Thanks again, but I've found the solution: adding
Code:
_JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=on"
to my /etc/environment file.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Firefox anti aliasing? FLX Linux - Software 2 03-16-2007 08:28 AM
anti-aliasing + Firefox Daedra Slackware 1 11-09-2006 03:44 AM
anti-aliasing + Firefox Daedra Slackware 1 11-09-2006 03:31 AM
anti-aliasing in gimp nibz Linux - Software 1 09-28-2004 07:25 PM
who's using anti-aliasing? webazoid Linux - Software 0 07-04-2004 09:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration