<Swing Dev> Setting font color of disabled button with HTML <font> tag.
xiaoyuandlg
xiaoyuandlg at hotmail.com
Thu Feb 27 03:23:43 UTC 2014
I happened to read something about button control text format
<http://www.kettic.com/winforms_ui/csharp_guide/buttons_button_text_format.shtml>
, hope the following sample snippets can offer you some
reference.this.Button1.Text = "<size=16>ButtonLabel
*<font=Arial>Arial, Bold*
/<color= Red><font=Times New Roman>Times, Italic_Underline_
<size=9>Size = 9
<color= 0, 0, 255>Sample Text";
--
View this message in context: http://openjdk.5641.n7.nabble.com/Swing-Dev-Setting-font-color-of-disabled-button-with-HTML-font-tag-tp100030p179588.html
Sent from the OpenJDK Swing Development mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20140226/98116651/attachment.html>
More information about the swing-dev
mailing list