what are the different ways of displaying colored text and small images using swing just like in a chat window.Also is it possible only with JEditorPane or a JTextArea can do the trick. If only i want to set colored text then what is the solution. give me some idea guys.
Hi, U can't have different colors for different text in JTextArea. U can use JTextPane instead. In JTextPane u can have multicolor and images too. But as per my experience with JTextPane, u can insert images into it, but retriveing them is difficult. If u need the code for multi color in JTextPane, then mail me at email@example.com ..regards ..saj