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 do count my Web Programming class as that hour though when I have an hours worth of homework, and I am getting the basics of JavaScript down as well.  But yesterday I was able to spend more than an hour and I decided I wanted to do a project that worked with string manipulation and reading/writing files.  Why you may ask?  Because I seem to forget all about string manipulation and it was probably one of my weaker points in the first round of learning 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.

A new ScratchPad screen

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 click a menu, it drops down as expected

When you choose the About option, the screen is filled with information about the current build of ScratchPad and it looks like this:

All about ScratchPad

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.

Next Additions:

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!



Tags: , , ,

One response to “New Project: ScratchPad”

  1. tarasj says :

    i am on the same track and i am going to make a dictionary using java lets do it and share the problem..

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: