• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 159
  • Last Modified:

Color text in TextField Object

I have a TextField Object. How do I display the text in color, and how do I set the Font?
0
jc31415
Asked:
jc31415
1 Solution
 
msmolyakCommented:
Component.setFont(myFont) and Component.setForeground(newColor) do exactly that.  Let me know if you need any examples.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now