/**
* TDirectoryList shows the files within a directory.
*/
-public final class TDirectoryList extends TList {
+public class TDirectoryList extends TList {
/**
* Files in the directory.
}
}
setList(newStrings);
+
+ // Select the first entry
+ if (getMaxSelectedIndex() >= 0) {
+ setSelectedIndex(0);
+ }
}
/**