Saturday, 23 July 2016

Display the Name Of The Selected Files For GreyScale --Java Programming: Solving Problems with Software


/**
 * Write a description of greyscale here.
 *
 * @author (your name)
 * @version (a version number or a date)
 */
import edu.duke.*;

import java.io.*;

public class greyscale {

    public void checkdir(){
   
        DirectoryResource dr = new DirectoryResource();
       
        for (File f : dr.selectedFiles())
        {
       
            System.out.println(f);
        }
    }        
}

No comments:

Post a Comment