You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by Thierry Kormann <Th...@sophia.inria.fr> on 2001/01/16 17:08:30 UTC
Re: cvs commit: xml-batik/sources/org/apache/batik/apps/svgviewer
StatusBar.java
Bill,
> Created inner MessageArea class (extends JComponent), to replace
> the message JLabel. This was done to extend the range of environments
> where non-latin characters can be displayed in the message field
> (on some platforms, the font used in JLabel was not doing proper
> substitution for missing glyphs).
I found some minor bugs.
The status bar has sometimes incorrect size. When selecting arabic text, some
glyphs are painted outside the component's bounding box.
The font is not the same than the JLabel default one. It seems that the font
size is 'hard-coded' (which may be a problem for accessibility, I think).
Could you fix that or does your new code makes it difficult?
At last, I though that when subclassing a swing component, we have to override
the paintComponent and not paint method. Am I wrong?
Thierry.
--
Thierry Kormann
email: Thierry.Kormann@sophia.inria.fr http://www.inria.fr/koala/tkormann/
Koala/Dyade/Bull @ INRIA - Sophia Antipolis