Search:

Type: Posts; User: thretz

Search: Search took 0.13 seconds.

  1. Re: Read CSV files and organising the data in Java

    When i code run the output displays the data from the csv file.
    But now how do I include the String class's split()?


    import java.io.File;
    import java.io.FileNotFoundException;
    import...
  2. Re: Read CSV files and organising the data in Java

    by the way is this code correct for reading the csv file in string?

    import java.io.File;
    import java.io.FileNotFoundException;
    import java.util.Scanner;

    public class Teams
    {

    public...
  3. Re: Read CSV files and organising the data in Java

    how do i parse the strings into the parts?
  4. Re: Read CSV files and organising the data in Java

    Can anyone help me please? The CSV file contains
    17/08/2013 Arsenal Aston Villa 1 3
    24/08/2013 Aston Villa Liverpool 0 1

    In java eclipse how do I use read the file and arrange it so the...
  5. Read CSV files and organising the data in Java

    Hi, I was wondering anyone one can help me please?

    I am trying to write a program that read from a csv file called matches.csv.
    A single football match can end with a win or a draw: in first...
  6. Replies
    3
    Views
    239

    Re: Need some help on my if statment.

    Thats right. How would i do it?
  7. Replies
    3
    Views
    239

    Need some help on my if statment.

    Hello, I need some help with my if statement.
    I want to create a simple text base game.
    The game begin with the character reaching the top floor of a castle and encounters the final boss. The...
  8. Replies
    9
    Views
    504

    Re: Java If Statement

    Everything works
    thanks again
  9. Replies
    9
    Views
    504

    Re: Java If Statement

    thanks for your help

    this is what i did

    int three=Integer.parseInt(text6.getText());
    if(three<40)
    {
    text7.setText("Fail");
    }
  10. Replies
    9
    Views
    504

    Re: Java If Statement

    i am not very good at if statements.
    is it possible if you could give me an example please.
  11. Replies
    9
    Views
    504

    Re: Java If Statement

    ok, so i should do something like

    int three=Integer.parseInt(text6.getText());
    if(three == <40);

    I then get an error on the if statement line.
  12. Replies
    9
    Views
    504

    Java If Statement

    Hi Everyone,

    I am developing a java application and i was wondering if anyone could help me.
    I was trying to do an if statement where if i click on the view report button it checks the value if...
Results 1 to 12 of 12