What it does

This is a word processor that is similar to MS WordPad. It displays a page and allows you to type in text, as well as cut, copy, and paste text. You are able to format your text by bolding, italicizing, and underlining it; as well as being able to change the font colour. Lastly, the program also allows you to save files, and open files later on for farther editing.

How I built it

I built the GUI for the word processor using the java.swing toolkit in java. It allowed me to set the layout for how I wanted the word processor to look for the user. Also, I did the coding and gave each of my menu items and buttons purpose using the java programming language.

Challenges I ran into

I was relatively new to programming and to the java language when I decided to create this project, so there was a bit of a learning curve for me. Some of the challenges that I ran into during my making of this word processor was being able to save and open files; however, after large amounts of research, I was able to get this part to work through the aid of the StyledEditorKit in java.

Accomplishments that I'm proud of

I am proud of being able to get the typing of text to work, being able to save and open the text files previously saved by the user, as well as being able to add formatting to the font such as changing font, font size, font colour, as well as being able to bold, underline, and italicize.

What I learned

I learned how to implement the StyledEditorKit into my programs in order to aid in this case with the formatting of the text; as well as how to use the JTextPane and JColorChooser.

What's next for Word Processor

Next, I plan on adding some other features into the word processor, such as inserting images and tables, being able to set the text orientation, as well as being able to print a document directly from the word processor among other things.

Built With

Share this project:

Updates