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.

Page 2 of 2 FirstFirst 12
Results 26 to 31 of 31

Thread: Strings not being added to arraylist

  1. #26
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,140
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: Strings not being added to arraylist

    There is no space in the code you posted.
    There is a space in this: tR= filename@4e82710e

    Explain that please!

  2. #27
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,318
    Thanks
    181
    Thanked 833 Times in 772 Posts
    Blog Entries
    5

    Default Re: Strings not being added to arraylist

    Quote Originally Posted by noel222 View Post
    What is an SSCCE
    See my signature: Short, self contained, correct, compilable example

  3. #28
    Junior Member
    Join Date
    Jan 2012
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Strings not being added to arraylist

    Nevermind I figured it out
    Last edited by noel222; February 10th, 2012 at 05:26 PM.

  4. #29
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,140
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: Strings not being added to arraylist

    That code will not compile. For example: No class or import statements. The variable: team is not defined.
    Please post a complete program that will compile and execute.

  5. #30
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,140
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: Strings not being added to arraylist


  6. #31
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,318
    Thanks
    181
    Thanked 833 Times in 772 Posts
    Blog Entries
    5

    Default Re: Strings not being added to arraylist

    Quote Originally Posted by Norm View Post

    @noel222, thanks for wasting our time. Please read http://www.javaprogrammingforums.com...s-posting.html

    And 2 infractions in a single week - you are working your way to being banned.
    Last edited by copeg; February 10th, 2012 at 05:55 PM.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Simple inventory System. Sometimes it doesn't update my added book.
    By JustinK in forum What's Wrong With My Code?
    Replies: 9
    Last Post: August 1st, 2011, 10:50 AM
  2. Image is not added when converting eml into htm
    By Vjay in forum What's Wrong With My Code?
    Replies: 3
    Last Post: July 4th, 2011, 06:24 AM
  3. Image is not added when converting eml into htm
    By Vjay in forum File I/O & Other I/O Streams
    Replies: 2
    Last Post: July 1st, 2011, 09:23 AM
  4. How to sort an ArrayList of Strings?
    By noFear in forum Java Theory & Questions
    Replies: 6
    Last Post: September 15th, 2010, 03:23 PM