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);
        }
    }        
}

Comments

Popular posts from this blog

Choose Your Social Media Channels Week 5 Quiz