Hamid, You can do this but it a little painful. Use textArea.getGraphics() to get the Graphics and instead of doing a setText() use g.drawString(). With the Graphics object at your disposal you can change font properties. hope this helps. R -----Original Message----- From: Gary Fidler [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 15, 2000 7:30 AM To: [EMAIL PROTECTED] Subject: Re: Need and urgent help if possible Hamid, I'm afraid you're out of luck. What you ask is difficult in Swing and impossible using AWT components. Gary -----Original Message----- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of hamid Sent: Tuesday, August 15, 2000 1:23 AM To: [EMAIL PROTECTED] Subject: Re: Need and urgent help if possible Hi fellows, I am developing a client Server Application(Chat client). The problem is : i am using Text Area in Applet for displaying chating. Now i want to display different lines of text with different colors and fonts. i am using only AWT classes. Can anyone help me in displaying different lines of text with different colors in TEXT AREA using AWT. Anyones help will be highly appreciated. Thanx in advance. Hamid Hassan =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets