Search:

Type: Posts; User: Norm

Search: Search took 0.12 seconds.

  1. [SOLVED] Re: Text file load to TreeMap Get Problem. Should be Very Easy to correct BUT, I am very New to Java

    Glad you got this project working.
    Now on to the next one.

    This is a public thread.
  2. [SOLVED] Re: Text file load to TreeMap Get Problem. Should be Very Easy to correct BUT, I am very New to Java

    It is there, just click on the displayed link, don't copy and paste it because the forum's software has shortened it and inserted ... into the middle of the URL.
  3. [SOLVED] Re: Text file load to TreeMap Get Problem. Should be Very Easy to correct BUT, I am very New to Java

    Have you tried writing a small, simple program as I suggested earlier:

    Separating the key and value is the next step. Try writing a small, simple program that takes the String:

    String line =...
  4. [SOLVED] Re: Text file load to TreeMap Get Problem. Should be Very Easy to correct BUT, I am very New to Java

    It could be done outside the loop to make for fewer printed lines. The label for the output could be tm= instead of Input.
    The print out shows the key's value before the = and the value afterwards...
  5. [SOLVED] Re: Text file load to TreeMap Get Problem. Should be Very Easy to correct BUT, I am very New to Java

    Did you try this: A suggestion for testing: Reduce the size of the input file to less than 10 lines. Say only 5 lines so that the printout will not be so long.

    For debugging, print out the value...
  6. [SOLVED] Re: Text file load to TreeMap Get Problem. Should be Very Easy to correct BUT, I am very New to Java

    Please edit your post and wrap your code with code tags:



    **YOUR CODE GOES HERE**


    to get highlighting and preserve formatting.

    Can you copy the contents of the console that shows what...
  7. [SOLVED] Re: Text file load to TreeMap Get Problem. Should be Very Easy to correct BUT, I am very New to Java

    Do you have a java programming question?

    Please copy and post all error messages and the source code here on the forum.
Results 1 to 7 of 7