LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 12: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 12:58 PM.
 
Old 01-01-2008, 07: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 12:30 PM.
 
Old 01-02-2008, 11:22 AM   #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, 10: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, 01: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



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 07:28 AM
anti-aliasing + Firefox Daedra Slackware 1 11-09-2006 02:44 AM
anti-aliasing + Firefox Daedra Slackware 1 11-09-2006 02:31 AM
anti-aliasing in gimp nibz Linux - Software 1 09-28-2004 06:25 PM
who's using anti-aliasing? webazoid Linux - Software 0 07-04-2004 08:58 AM

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

All times are GMT -5. The time now is 09:28 PM.

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
Open Source Consulting | Domain Registration