Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipse-dev] Should be able to apply different colors to different messages which are output to MessageConsoleStr

  Hi All,

I am using the statements like:

MessageConsoleStream oStream = console.newMessageStream();
oStream.setColor(new Color(Display.getCurrent(),
                              lineRGB));
oStream.println(individualLine);

I want to provide different colors to different messages. But by  above approach, once the color of the stream is set, the same color is applied to all the remaining text.


Is there any way to apply different colors to the messages which are output?

regards,
Bharat




Back to the top