tags:

views:

184

answers:

5
+1  Q: 

text editor

what are the methods available to implement text editor in java??

+7  A: 

The JTextPane class would be a good start.

The How to Use Editor Panes and Using Text Components and Text Panes sections from The Java Tutorials would be a nice to place to take a look at examples and explanation.

coobird
+1 for a helpful answer to a vague question
Gishu
+1  A: 

You could use Eclipse. See http://wiki.eclipse.org/FAQ How do I create my own editor?

Robert
+1  A: 

You could also use Netbeans. Here is a link.

stanigator
+1  A: 

You can also have a look at JEdit, a open source java editor for ideas of how exactly to go about building an editor

Conrad
+1  A: 

I've successfully integrated EKit into a Java application, which is a fairly functional HTML text editor.

Adamski