Re: Activating anti-aliasing in Swing



jonck@xxxxxxxxxxxxxxx wrote:
> At the moment I'm having to override paintComponent for every Swing
> component I use to get anti-aliasing working:

> Is this really the only way to get anti-aliasing in Swing at the moment
> (using 1.4.2), or is there a more elegant way that someone knows of?

WrapLF is slightly more elegant. It basically automates the
above process using a custom look and feel.

http://wraplf.l2fprod.com/

Richard
.



Relevant Pages

  • Re: Activating anti-aliasing in Swing
    ... > At the moment I'm having to override paintComponent for every Swing ... > component I use to get anti-aliasing working: ... There is a mechanism that provides the Graphics objects to these ... paintComponent methods. ...
    (comp.lang.java.gui)
  • Re: Activating anti-aliasing in Swing
    ... as a valid option, however, it does not appear to do anything, all my ... Swing components still render the same. ... At the moment I'm having to override paintComponent for every Swing ... component I use to get anti-aliasing working: ...
    (comp.lang.java.gui)