swing - Java JLabel changes Font Automagically -
i have number of various components in large javaee application. such, debugging pain, , sadly cannot provide sscce accurately depicts problem i'm having.
in nutshell, somehow fonts change things jlabels
, jtabbedpanes
. without ever touching them, they're being repainted bold, italicized, dramatically changed in size, or combination thereof.
simple question: why?
if step through eclipse debugger, no changes made, ever. time somehow factor.
i'm still java grasshopper (working myself), , haven't built program in such way edt sacred object. i'm worried because i'm potentially not making repaint()
calls on edt jtabbedpane, jlabel , other font properties being reset , repainted.
edit:
forgot i'm constrained java 1.5.
i think i've narrowed down issue using html in jlabels , jtabbedpane tab titles...but past i've got no idea. regards jtabbedpane, it's going drawing methods right font
/fontmetrics
objects, whatever reason (sometimes more often; still haven't figured out timing trigger) switch font, style, , size @ it's painting text.
Comments
Post a Comment