Hello guys i want to know if its possible to format a text as it is done ms-word on a jframe? i want to be able to edit the text i put on my jframe by specifying the heading, making some texts bold, adding font color to som texts and all that. Please let me know if its possible to do this. Am creating an about us form and i need to edit the text i place on the form. If it is possible i will appreciate the direction or help. Thank you.

JLabels etc accept simple HTML code to control formatting, headings, font color etc, eg

  aLabel.setText("<HTML><H1> Hello</H1>" +
                 "<FONT COLOR="RED"><CENTER>World" +
                 "<FONT SIZE=-2 COLOR="GREEN"> and friends");