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 4 of 4

Thread: Newbie Question

  1. #1
    Junior Member
    Join Date
    Aug 2012
    Posts
    5
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default Newbie Question

    Hey everyone,

    I am rather new to Java and the technical details of programming in general. I do have a strong conceptual understanding and know and understand what most of the objects, types, api's, are and how they should be used. What I don't know is how to actually use any of it.

    I would like to start small and I'm seemingly having trouble finding an example/tutorial of this nature:

    I would like to write a small program that
    1: Can read and search a text file, returning any exact and similar matches
    2: The text file would (or if better, access/excel) would have four columns: x-coord, y-coord, exitType, name
    3: Using a JavaFX simple GUI I'd like to be able to enter a name (or part of one) and a listbox return a list of similar or exact matches
    4: Upon clicking the name in the list box you are provided with the name, x-coord, y-coord, and exitType

    I think part of my problem is stemming from the fact that there is so many different implementations/types of Java available and I find tutorials from all over the place (some similar) that don't just seem to be using SE/FX. I do have some experience in C/C++/VB and using Access/Excel fuctions/methods/forms if that makes any difference. I think I could actually do it in VB/C# pretty easily but I'd prefer to use Java because I am interested in learning it.

    Beyond this question, if someone could point me to a solid website dealing with modern implementations of Java SE/FX it would be highly appreciated. I tend to be finding really dated sites with examples/tutorials.


  2. #2
    Super Moderator jps's Avatar
    Join Date
    Jul 2012
    Posts
    2,642
    My Mood
    Daring
    Thanks
    90
    Thanked 262 Times in 231 Posts

    Default Re: Newbie Question

    Quote Originally Posted by mmazur View Post
    ... I do have a strong conceptual understanding and know and understand what most of the objects, types, api's, are and how they should be used. What I don't know is how to actually use any of it. ...


    How would you write it in VB or C#? Draw up you algorithm and pseudocode. Work out from there using java SE/FX as needed. When you hit a problem post a question with the relevant code.

  3. #3
    Junior Member
    Join Date
    Aug 2012
    Posts
    5
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default Re: Newbie Question

    Well, I would essentially be in the same spot with VB/C#. I just have more experience working with MS forms because of the fact that even Finance majors have to take some of the intro C.S. classes; but, it has been a while since I even did that. I was more hoping that by describing what I am trying to do I could be directed in the direction of either 1) a similar tutorial/example, or 2) some one could kind of help me with a road map on what I should be trying to learn to complete this specific idea.

    I know that it is against the ToS to post a complete project - especially for homework situations - but this is something I am just trying to do for fun to help out the players of a long running MUD. This is a link to essentially what I am trying to model http://firan.legendary.org/index.php/Directions I know the question would then be why not use/update that? Well, mainly because I thought this would be fun but also I'd like to add some functionality to it piece-by-piece as I learn.

    Thank you so far for the help.

  4. #4
    Super Moderator jps's Avatar
    Join Date
    Jul 2012
    Posts
    2,642
    My Mood
    Daring
    Thanks
    90
    Thanked 262 Times in 231 Posts

    Default Re: Newbie Question

    If you have never used java start out with the Hello World. Then write Hello World to a file. Then read the file and print the text to the screen.
    If you want SE/FX tutorials, hit up a search engine and you will have several. As far as good ones, that really boils down to what works for you.
    For your project it sounds like you need to develop your algorithm to solve your problem, then put the algorithm in pseudocode. Once you have that part down, it will be much easier to translate to java

  5. The Following User Says Thank You to jps For This Useful Post:

    mmazur (August 25th, 2012)

Similar Threads

  1. Newbie Java Question
    By tinkersp in forum What's Wrong With My Code?
    Replies: 3
    Last Post: May 23rd, 2011, 01:41 PM
  2. Addition of doubles (newbie question)
    By archyb in forum Java Theory & Questions
    Replies: 2
    Last Post: April 21st, 2011, 09:52 AM
  3. Newbie Question on a Code - I don't know if this is Java
    By fresca in forum Java Theory & Questions
    Replies: 4
    Last Post: April 7th, 2011, 08:39 PM
  4. newbie question about Abstract methods
    By FailMouse in forum Java Theory & Questions
    Replies: 3
    Last Post: August 10th, 2010, 11:51 PM
  5. Looping Question (newbie)
    By xdrechsler in forum Loops & Control Statements
    Replies: 13
    Last Post: July 19th, 2010, 09:12 PM