New Project: ScratchPad
So with the lack of programming focused classes this semester, I am finally free to start working on just getting more comfortable with writing code and making applications. I know a lot of music majors, and for them to become good at performing they practice at least one hour a day with their singing or playing. This made me realize that I need to set up programming practice time as well. I have been programming for a minimum of one hour a day, with the focus on Java.
I always thought it would be fun make my own Notepad type of application, that way I could work on string manipulation as well as GUI’s (graphical user interfaces). So ScratchPad was born last night.
The rough framework, and all the key funtionality of a text editor are present. At the top I have a menu bar with the options File, Format and Help (more to come in the future). Under the File menu there is an option for new file, open file and save file. Under the Format menu there is currently an option to turn word wrapping on or off, and under the Help menu there is an about selection.
When you choose the About option, the screen is filled with information about the current build of ScratchPad and it looks like this:
Again, this is still in the early stages of the application. I was having trouble saving and opening the file so that they had the same look. I would have white spaces inbetween lines like above when I would save, yet when I would re-open the same file it would give it to me as one long line, no white space. This is again where I had to work on string manipulation and reading/writing files using Java.
I am not 100% sure what all I will be able to achieve on the first iteration of this application, but I do know I want to give the user the option to change the font, size and color of the text to what they enjoy. I can see this taking some time because of how I want the user to be able to choose it, so I am currently planning using trusty ole pencil and paper before I get to coding that addition into the application.
I have some other cool ideas to give this more of a ScratchPad feel but I need to look into some ways I could implement these features. I finally get to start trying to think of the optimal way to apply data structures I believe! I am excited to keep this project up, I am already proud of it but I want others to want to try it out as well some day!