I am using JButtons, TableCellRenderers and JLabels
all of which need underlined text.  I have subclassed
to override paint to get underlines.  I have tried
HTML strings and used borders.  None of which are
great all around solutions.  For instance HTML is too
slow for renderers, overriding paint duplicates a ton
of code (alignment, string positioning, icon
positioning, etc), borders don't line up with the
text, etc.  Isn't there a better way, this seems like
such an obvious thing?

__________________________________________________
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/
_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/advanced-swing

Reply via email to