Hi all,
I need to put a single line text input field on my user interface. I also
need to apply a stlye, like strikeout or bold, to the character the user
enters. I can get the style working in a JTextPane, but how do I get it to
be the right size for the height of single character. I can play with
setPreferredSize() until it looks good, but what if a one of my users has
different sized fonts or something?
Another sort of related question. How can a extend JButton to get it to
support styled text? I know that I can just use HTML, but I'd like to use
styled text instead.
Thanks!
_______________________________________________
Swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/swing