JAL-4034 fix #3 change uniprot ref fetch dialog to a ‘warning’ shown when many ids...
[jalview.git] / doc / patching-vaqua.txt
1 VAqua5-patched.jar - how the patch was created
2
3 1. Download VAqua5 source from https://violetlib.org/release/vaqua/5/VAqua5Source.zip
4 2. Unzip to a directory and apply this patch
5
6 diff --git a/src/org/violetlib/aqua/fc/AquaFileChooserUI.java b/src/org/violetlib/aqua/fc/AquaFileChooserUI.java
7 index 833366d..61f66e5 100644
8 --- a/src/org/violetlib/aqua/fc/AquaFileChooserUI.java
9 +++ b/src/org/violetlib/aqua/fc/AquaFileChooserUI.java
10 @@ -1171,7 +1171,8 @@ public class AquaFileChooserUI extends BasicFileChooserUI {
11          goToFolderCancelButtonText = getString("FileChooser.goToFolderCancelButtonText", l, "Cancel");
12          goToFolderAcceptButtonText = getString("FileChooser.goToFolderAcceptButtonText", l, "Accept");
13          goToFolderErrorText = getString("FileChooser.goToFolderErrorText", l, "The folder can\u2019t be found.");
14 -        defaultInitialSaveFileName = getString("FileChooser.defaultSaveFileName", l, "Untitled");
15 +        // Don't set an initial filename for saving (or loading) !  
16 +       // defaultInitialSaveFileName = getString("FileChooser.defaultSaveFileName", l, "Untitled");
17      }
18  
19      /**
20
21 3. Ensure XCode is installed, along with command line tools and the OSX developer packs
22  - you should have /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
23
24 4. Download the VAqua rendering library from violetlib.org and save to the VAqua source's lib folder as lib/VAquaRendering.jar
25
26 5. change to the release directory and execute 'ant' - a few warnings are generated but providing a final jar is created, all is good!
27