1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
| Authentif aut=new Authentif();
repertoire=new File(aut.ch);
l=new LinkedList();
if ( repertoire.isDirectory ( ) ) {
list = repertoire.listFiles();
i=list.length;
timer1 = new Timer(150,new ActionListener()
{
public void actionPerformed(ActionEvent evt)
{
if (list != null){
String s,s1;
for (int j = 0; j < list.length; j++) {
// Appel r?cursif sur les sous-r?pertoires
System.out.println( list[j]);
}
} else {
System.err.println(repertoire + " : Erreur de lecture.");
}
timer1.stop();
}
});
timer1.start(); |