"Changing the font of the text in a TextObject."
Shubha
New Altair Community Member
Hi,
Consider the output of the below process file,
1. Can I change the font (size, bold etc) of the text, "The Outputs are in 'Results' folder?
2. Can I delete the text "TextObject" and "Label: Trial"?
Dont know if (2) is possible, but if (1) is possible, that should be fine.
Thanks,
Shubha
Consider the output of the below process file,
<operator name="Root" class="Process" expanded="yes">The output is the textobject. My questions are:
<operator name="SingleTextObjectInput" class="SingleTextObjectInput">
<parameter key="text" value="The Outputs are in Results Folder."/>
<parameter key="label" value="Trial"/>
</operator>
</operator>
1. Can I change the font (size, bold etc) of the text, "The Outputs are in 'Results' folder?
2. Can I delete the text "TextObject" and "Label: Trial"?
Dont know if (2) is possible, but if (1) is possible, that should be fine.
Thanks,
Shubha
Tagged:
0
Answers
-
Simple. Just install a custom PLAF (see http://java.sun.com/docs/books/tutorial/uiswing/lookandfeel/) and a custom HTML renderer kit (http://java.sun.com/javase/6/docs/api/javax/swing/text/html/HTMLEditorKit.html).
Good luck,
Simon0