Search:

Type: Posts; User: javapenguin

Search: Search took 0.10 seconds.

  1. Re: Somehow it's not adding to an ArrayList of ArrayLists.

    Ok, like I suspected somewhat, it didn't like my chapter heading, which must have had a space or something and broken the syntax.

    I'd noticed in the previous one that if I had an enter key in...
  2. Re: Somehow it's not adding to an ArrayList of ArrayLists.

    Why am I adding only 1 element?

    I've noticed that, but don't know why.

    Also, I kept redefining var every time, or I thought I did.

    Wait, you're right, I'm only adding one to each of the...
  3. Somehow it's not adding to an ArrayList of ArrayLists.

    try
    {
    chapterScanners[0] = new Scanner(new File("./s3c1.txt"));
    }

    catch(FileNotFoundException fnfe)
    {

    }
Results 1 to 3 of 3