I am new to j2ee, and i have to make a page where the text area for a field has a certain aspect. If we select some portion of the sentences that will be written in it,and click on the bold option(much like the one i am using here),that portion will be in bold letters and will be saved accordingly in database.
Another JSF solution is to use the RichFaces Editor control.
But for non-JSF pages, there's tinyMCE, which is what RichFaces builds on. There's also several other rich text editor components available, but for those I'll just have to recommend your favourite search engine.
An IDE is no substitute for an Intelligent Developer.