private void fillFileList(String directory) {
try {
listModel.clear();
Vector<SFTPv3DirectoryEntry> files = handler.listFiles(directory);
Collections.sort(files, new SSHFileComparator());
for (SFTPv3DirectoryEntry entry : files) {
if (entry.attributes.isDirectory())
listModel.addElement(entry);
}
for (SFTPv3DirectoryEntry entry : files) {