Merge remote-tracking branch 'origin/GP-4563_ryanmkurtz_libs-fsrl--SQUASHED'

This commit is contained in:
Ryan Kurtz 2024-05-16 06:50:49 -04:00
commit b03f1007b7
7 changed files with 140 additions and 62 deletions

View file

@ -278,8 +278,10 @@ public class PathnameTablePanel extends JPanel {
pathName = "";
}
else {
File file = new File(pathName);
fileExists = file.exists();
int colonSlashSlash = pathName.indexOf("://");
if (colonSlashSlash <= 0) { // Assume FSRL/URLs always exist
fileExists = new File(pathName).exists();
}
}
label.setText(pathName.toString());