Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Writing an Editor in Java

Status
Not open for further replies.

Toyman

Programmer
Jun 19, 2001
68
0
0
GB
Hi

Does anybody know where I can find source code showing how to write An Editor in Java......

Thanks
Carel
 
There's no need - someone already did it - its called "notepad" !

OK, you can use swing (javax.swing) to write the GUI, with a JTextArea embedded within a JScrollPane embedded within a JFrame. Then use java.io package to read and write your data in the JTextArea.

Those packages have tutorials and documentation at
 
You better look at :

javax.swing.JTextPane
javax.swing.JEditorPane (and editorkits (plain, rtf, html))
 
i would also like to write an editor just for the fun of it. Does anyone know of any resources on the net specific to this type of project such as examples.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top