Swing: How to paint focus-rectangle just like current LAF?

Posted by John B. on Stack Overflow See other posts from Stack Overflow or by John B.
Published on 2010-05-01T21:01:27Z Indexed on 2010/05/01 21:07 UTC
Read the original article Hit count: 212

Filed under:

This might be a long shot, but does anyone know of a way to paint the dotted line focus-rectangle on my custom component just like the current LAF components do? I'm writing a custom component and I would like it's UI delegate to look very much like the Windows 7 LAF. Thanks.

© Stack Overflow or respective owner

Related posts about swing