Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

JAVA TEXT EDITOR NETBEANS

Posted on 2011-02-11
3
947 Views
Last Modified: 2012-05-11
I'm trying to create a simple text editor that can create / open / save  text file
format text for 3 colors
and in the status bar it will count the lines in the text the words and the characters
it can do something like spell checking for 10 words of our choice and since the
to be able to save the text as it appears [colors]


 
0
Comment
Question by:rockas1982
3 Comments
 
LVL 9

Expert Comment

by:rawinnlnx9
ID: 34874945
So what is it that you need?
0
 
LVL 1

Author Comment

by:rockas1982
ID: 34874970
an example project (netbeans) of this (if someone has one allready created) or something near to this
0
 
LVL 5

Accepted Solution

by:
aciuica earned 500 total points
ID: 34875278
For a swing text editor I found this sample with some more formatting:
http://www.buraak.com/2008/03/19/simple-text-editor-with-java-swing/
The save/read use java Serialization. If you don't like that you can read the StyledDocument content and store it in your desired format and then build a StyledDocument from it when you open it.
For the status you can register a DocumentListener to the document and make some tokenizing and counting.
For spell checking you can use http://jortho.sourceforge.net/ as is or as source of inspiration for highlighting wrong spelled words and other stuff.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
tomcat administrtor 12 61
ejb example issues 3 25
How to convert from xls to xlsx using java 7 55
Html Table Looping (part 2) 5 27
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question