I see... so use the RichTextField class. Below is sample code to override the paint method so you can change what the control looks like. Below just changes the font color to green. I know the colors are not what you wanted, but this is a nice place to start:
RichTextField console = new RichTextField("This is some console text", RichTextField.FIELD_HCENTER)
{
// Override the paint method to set Font and Color.
public void paint(Graphics graphics)
{
graphics.setColor(Color.GREEN);
super.paint(graphics);
}
};
|