Vault 3 version 0.21 is now available. In this version, if you specify an external photo editing program, you can edit a photo by selecting File / Edit Photo File when a photo is displayed.
On Windows machines I use paint.net to edit photos. On Ubuntu I use GIMP.
I tried to use the SWT Program class to launch the external photo editing program. I never got it to work. Apparently the SWT Program class is intended to launch programs based on file associations, rather than launching a program with a specific file path, with a file path argument. Fortunately the Java ProcessBuilder class was able to launch a given program with a file path argument:
public void editPictureFile(Shell shell) { if (canEditPictureFile()) { String selectedItemPhotoPath = PhotoUtils.getPhotoPath(selectedItemPhotoPath()); ProcessBuilder processBuilder = new ProcessBuilder(Globals.getPreferenceStore().getString(PreferenceKeys.PhotoEditingProgramPath), selectedItemPhotoPath); try { processBuilder.start(); } catch (IOException e1) { e1.printStackTrace(); } } }
Title | Date |
.NET Public-Key (Asymmetric) Cryptography Demo | July 20, 2025 |
Raspberry Pi 3B+ Photo Frame | June 17, 2025 |
EBTCalc (Android) Version 1.53 is now available | May 19, 2024 |
Vault 3 Security Enhancements | October 24, 2023 |
Vault 3 is now available for Apple OSX M2 Mac Computers! | September 18, 2023 |
Vault (for Desktop) Version 0.77 Released | March 26, 2023 |
EBTCalc (Android) Version 1.44 is now available | October 12, 2021 |