Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #3074 > unrolled thread
| Started by | "Alia" <alia@THRWHITE.remove-dii-this> |
|---|---|
| First post | 2011-04-27 15:42 +0000 |
| Last post | 2011-04-27 15:42 +0000 |
| Articles | 7 — 3 participants |
Back to article view | Back to comp.lang.java.gui
How to turn off Antialias "Alia" <alia@THRWHITE.remove-dii-this> - 2011-04-27 15:42 +0000
Re: How to turn off Antia "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:42 +0000
Re: How to turn off Antia "Knute Johnson" <knute.johnson@THRWHITE.remove-dii-this> - 2011-04-27 15:42 +0000
Re: How to turn off Antia "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:42 +0000
Re: How to turn off Antia "Knute Johnson" <knute.johnson@THRWHITE.remove-dii-this> - 2011-04-27 15:42 +0000
Re: How to turn off Antia "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:42 +0000
Re: How to turn off Antia "Knute Johnson" <knute.johnson@THRWHITE.remove-dii-this> - 2011-04-27 15:42 +0000
| From | "Alia" <alia@THRWHITE.remove-dii-this> |
|---|---|
| Date | 2011-04-27 15:42 +0000 |
| Subject | How to turn off Antialias |
| Message-ID | <tuumj.1$Dw5.0@fe72.usenetserver.com> |
To: comp.lang.java.gui I have a need to turn anti-aliasing _off_ for certain jlabels. My 1.4 code no longer works in 1.6 (setting rendering hints). I googled around and found various ways to turn antialiasing on, but I have the opposite problem and reversing the examples I have found doesn't seem to work. Does anyone have any example code that will let me turn anti-aliasing off on a jlabel (without drawing the text myself)? -Alia --- * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet! --- Synchronet 3.15a-Win32 NewsLink 1.92 Time Warp of the Future BBS - telnet://time.synchro.net:24
[toc] | [next] | [standalone]
| From | "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> |
|---|---|
| Date | 2011-04-27 15:42 +0000 |
| Subject | Re: How to turn off Antia |
| Message-ID | <h78lp3123jsp3b778j57hak9t3c8h3q5nr@4ax.com> |
| In reply to | #3074 |
To: comp.lang.java.gui On Fri, 25 Jan 2008 23:43:21 GMT, Alia <Alia@..> wrote, quoted or indirectly quoted someone who said : >I have a need to turn anti-aliasing _off_ for certain jlabels. >My 1.4 code no longer works in 1.6 (setting rendering hints). see http://mindprod.com/jgloss/antialiasing.html -- Roedy Green, Canadian Mind Products The Java Glossary, http://mindprod.com --- * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet! --- Synchronet 3.15a-Win32 NewsLink 1.92 Time Warp of the Future BBS - telnet://time.synchro.net:24
[toc] | [prev] | [next] | [standalone]
| From | "Knute Johnson" <knute.johnson@THRWHITE.remove-dii-this> |
|---|---|
| Date | 2011-04-27 15:42 +0000 |
| Subject | Re: How to turn off Antia |
| Message-ID | <479ac4c4$0$27858$b9f67a60@news.newsdemon.com> |
| In reply to | #3075 |
To: comp.lang.java.gui
Roedy Green wrote:
> On Fri, 25 Jan 2008 23:43:21 GMT, Alia <Alia@..> wrote, quoted or
> indirectly quoted someone who said :
>
>> I have a need to turn anti-aliasing _off_ for certain jlabels.
>> My 1.4 code no longer works in 1.6 (setting rendering hints).
>
> see http://mindprod.com/jgloss/antialiasing.html
So is there a way to turn it off for a specific component? All
anti-aliasing can be turned off with the -D option even if Clear Type is
on. But if Clear Type is on or the -D option specifies anti-alias on
you can't turn it off in the paintComponent() method.
--
Knute Johnson
email s/nospam/knute/
--
Posted via NewsDemon.com - Premium Uncensored Newsgroup Service
------->>>>>>http://www.NewsDem
---
* Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24
[toc] | [prev] | [next] | [standalone]
| From | "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> |
|---|---|
| Date | 2011-04-27 15:42 +0000 |
| Subject | Re: How to turn off Antia |
| Message-ID | <nkunp3901a1ceav20fgsvf8tracrq0kga5@4ax.com> |
| In reply to | #3076 |
To: comp.lang.java.gui On Fri, 25 Jan 2008 21:27:30 -0800, Knute Johnson <nospam@rabbitbrush.frazmtn.com> wrote, quoted or indirectly quoted someone who said : > >So is there a way to turn it off for a specific component? All >anti-aliasing can be turned off with the -D option even if Clear Type is >on. But if Clear Type is on or the -D option specifies anti-alias on >you can't turn it off in the paintComponent() method. In JDK 1.6+ there are also new values to use in setRenderingHints key and value, including VALUE_ANTIALIAS_OFF to turn anti-aliasing off. http://java.sun.com/javase/6/docs/api/java/awt/RenderingHints.html -- Roedy Green, Canadian Mind Products The Java Glossary, http://mindprod.com --- * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet! --- Synchronet 3.15a-Win32 NewsLink 1.92 Time Warp of the Future BBS - telnet://time.synchro.net:24
[toc] | [prev] | [next] | [standalone]
| From | "Knute Johnson" <knute.johnson@THRWHITE.remove-dii-this> |
|---|---|
| Date | 2011-04-27 15:42 +0000 |
| Subject | Re: How to turn off Antia |
| Message-ID | <479c000a$0$27787$b9f67a60@news.newsdemon.com> |
| In reply to | #3085 |
To: comp.lang.java.gui
Roedy Green wrote:
> On Fri, 25 Jan 2008 21:27:30 -0800, Knute Johnson
> <nospam@rabbitbrush.frazmtn.com> wrote, quoted or indirectly quoted
> someone who said :
>
>> So is there a way to turn it off for a specific component? All
>> anti-aliasing can be turned off with the -D option even if Clear Type is
>> on. But if Clear Type is on or the -D option specifies anti-alias on
>> you can't turn it off in the paintComponent() method.
>
> In JDK 1.6+ there are also new values to use in setRenderingHints key
> and value, including VALUE_ANTIALIAS_OFF to turn anti-aliasing off.
>
> http://java.sun.com/javase/6/docs/api/java/awt/RenderingHints.html
Apparently you can't stop XP from drawing with Clear Type by selecting
the anti-alias off on the Graphics2D.
--
Knute Johnson
email s/nospam/knute/
--
Posted via NewsDemon.com - Premium Uncensored Newsgroup Service
------->>>>>>http://www.NewsDem
---
* Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24
[toc] | [prev] | [next] | [standalone]
| From | "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> |
|---|---|
| Date | 2011-04-27 15:42 +0000 |
| Subject | Re: How to turn off Antia |
| Message-ID | <t8eop35518k5upg1conm7mp37mec0mkvc2@4ax.com> |
| In reply to | #3088 |
To: comp.lang.java.gui On Sat, 26 Jan 2008 19:52:42 -0800, Knute Johnson <nospam@rabbitbrush.frazmtn.com> wrote, quoted or indirectly quoted someone who said : >Apparently you can't stop XP from drawing with Clear Type by selecting >the anti-alias off on the Graphics2D. That sounds like a BUG. -- Roedy Green, Canadian Mind Products The Java Glossary, http://mindprod.com --- * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet! --- Synchronet 3.15a-Win32 NewsLink 1.92 Time Warp of the Future BBS - telnet://time.synchro.net:24
[toc] | [prev] | [next] | [standalone]
| From | "Knute Johnson" <knute.johnson@THRWHITE.remove-dii-this> |
|---|---|
| Date | 2011-04-27 15:42 +0000 |
| Subject | Re: How to turn off Antia |
| Message-ID | <479ccbe3$0$27857$b9f67a60@news.newsdemon.com> |
| In reply to | #3089 |
To: comp.lang.java.gui
Roedy Green wrote:
> On Sat, 26 Jan 2008 19:52:42 -0800, Knute Johnson
> <nospam@rabbitbrush.frazmtn.com> wrote, quoted or indirectly quoted
> someone who said :
>
>> Apparently you can't stop XP from drawing with Clear Type by selecting
>> the anti-alias off on the Graphics2D.
>
> That sounds like a BUG.
Or a feature!
--
Knute Johnson
email s/nospam/knute/
--
Posted via NewsDemon.com - Premium Uncensored Newsgroup Service
------->>>>>>http://www.NewsDem
---
* Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.java.gui
csiph-web