Java GUI add text and i want to italic , bold the word l. How can is it?

I want to make java application with gui for add story, in my application there are text area for insert a story. And i want my app have italic, bold etc for add story..how i make it