Search:

Type: Posts; User: alextrimplez

Search: Search took 0.26 seconds.

  1. Re: How do I get my program to read .txt files? My code doesn't work. Can you please post your code? I use eclipse.

    The problem is that it prints: Folder not found.
    There is no error, but that is NOT the intended output.
  2. Re: How do I get my program to read .txt files? My code doesn't work. Can you please post your code? I use eclipse.

    package functions;
    import java.io.File;
    import button.Actions;
    public class handling
    {
    public static void main (String[] args)
    {
    File dir = new File("data.txt");
    if(dir.exists())
    {
  3. How do I get my program to read .txt files? My code doesn't work. Can you please post your code? I use eclipse.

    How do I get my program to read .txt files? My code doesn't work. Can you please post your code? I use eclipse.
    I tried to use FileReader and BufferedReader objects, but the code doesn't work.
    ...
Results 1 to 3 of 3