context-coloring

I

Ike

Anyone aware of a text component class that colors certain elements of text?
Many IDE's use such a creature, and I am wondering if anyone is aware of an
example of such a class somewhere. Thanks, Ike
 
T

Thomas Weidenfeller

Ike said:
Anyone aware of a text component class that colors certain elements of text?
Many IDE's use such a creature, and I am wondering if anyone is aware of an
example of such a class somewhere. Thanks, Ike

The SwingSet2 demo which comes with every Sun JDK demonstrates such a
feature. The JDK should also contain the source for the demo. I never
looked at the source, but in general the JDK demo code is not really
production quality. So you might have to hack the stuff.

Or Google for something else.

/Thomas
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,053
Latest member
BrodieSola

Latest Threads

Top