Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: little kind of "notepad" application

  1. #1
    Junior Member
    Join Date
    Sep 2014
    Location
    Rome, Italy
    Posts
    4
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default little kind of "notepad" application

    Hi guys, I study Java since a few time, I have a basic knowledge of the JRE, JDK, Eclipse, and OOP programming.
    While I'm trying to get better reading my book and doing its exercises sometimes it's boring and I try to do something on my own.
    I already developed some command line applications but now I'd like to do an application I'd need so bad.
    But I'd need your help since I'm not so good with graphic interfaces and I don't know how to start.
    (I use windowsbuilder on Eclipse though)

    So, I'd like to do a very simple kind of notepad that operates on a single file.
    So I just need a frame and a "textarea?" where I can write anything.
    Then everytime I open it, I want the things I wrote the last time to be shown.
    (Maybe with a "save" menu).
    Obviously if I delete things I don't want to see them anymore.

    It has to be kind of notepad but a notepad that operates just on a single document.
    I don't need other features.

    Could you tell me in which way I have to work, how to start or help me with some little samples of code?

    Thanks in advice to those who are gonna help me


  2. #2
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,520
    My Mood
    Mellow
    Thanks
    215
    Thanked 698 Times in 680 Posts

    Default Re: little kind of "notepad" application

    Welcome to the forum! Please read this topic to learn how to post code in code or highlight tags and other useful info for new members.

    I recommend you ditch the graphical GUI interface designer and learn to do the GUI programming by hand. The experience of programming simple GUI applications by hand will give you an understanding of what's going on behind the scenes. There are multiple Java Notepad-like tutorials on the Web, just search for them.

    If you choose to stick with the graphical GUI interface builder, then this forum will not be much help. We help people with programming in Java where we can. Using WindowBuilder is a separate topic, and I don't believe there's much, if any, experience with that here.

  3. The Following User Says Thank You to GregBrannon For This Useful Post:

    Nickbm94 (September 9th, 2014)

  4. #3
    Junior Member
    Join Date
    Sep 2014
    Location
    Rome, Italy
    Posts
    4
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default Re: little kind of "notepad" application

    Thank you for the answer GregBrannon.
    Well about user interfaces I think the same but its frustrating when you can't do something cause you're not that skilled yet.
    I'm going to code interfaces by hand from now.

    And about the notepad, I figured out why I couldn't find any tutorials.
    I typed "note block", that is the literal translation of "Blocco note" in my language. Sorry about this

    See you around

Similar Threads

  1. Replies: 4
    Last Post: July 18th, 2014, 02:04 AM
  2. Replies: 1
    Last Post: July 16th, 2014, 04:16 AM
  3. Replies: 2
    Last Post: May 22nd, 2014, 01:17 PM
  4. Replies: 2
    Last Post: June 22nd, 2013, 10:30 AM
  5. Need something like a "Hashtable<String[], Integer>" kind of data type @@
    By Albretch Mueller in forum Java Theory & Questions
    Replies: 2
    Last Post: November 27th, 2010, 10:24 PM