User Profile

Collapse

Profile Sidebar

Collapse
dimitryous
dimitryous
Last Activity: Apr 19 '07, 04:56 PM
Joined: Apr 18 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • dimitryous
    replied to Read the directory from an applet
    in Java
    Almost got it but...

    Here is my code:
    Code:
    	public static void listDirectory( File the_Directory ) {
    		//System.out.println ("132: " + the_Directory.getAbsolutePath());
    		int max = 0;
    		String the_String = "quotes";
    		if ( the_Directory.isDirectory ( ) ) {
                    File[] list = the_Directory.listFiles();
                    if (list != null) {
    					//System.out.println
    ...
    See more | Go to post

    Leave a comment:


  • dimitryous
    started a topic Read the directory from an applet
    in Java

    Read the directory from an applet

    Hello,

    I just would like to read a specific (/Downloads/) directory of the client machine in order to get the latest file:
    My code look for text files like "quotes.txt , quotes-1.txt, ... quotes-42.txt etc..." and would like to point to the last one (quotes-42.txt).

    I know that I will have to sign the applet later...

    Right now I'm able to read a specific file (quotes.txt) but what if there...
    See more | Go to post
No activity results to display
Show More
Working...