- // Displayed when code version and jnlp version do not match
- g.setColor(Color.red);
- g.drawString("!! Jalview version " +
- jalview.bin.Cache.getDefault("LATEST_VERSION",
- "..Checking..")
- +
- " is available for download from http://www.jalview.org !!",
- 50, y += fontSize + 10);
+ if (jalview.bin.Cache.getProperty("VERSION").toLowerCase().indexOf("automated build")==-1)
+ {
+ // Displayed when code version and jnlp version do not match and code version is not a development build
+ g.setColor(Color.red);
+ }
+ g.drawString(
+ "!! Jalview version "
+ + jalview.bin.Cache.getDefault(
+ "LATEST_VERSION", "..Checking..")
+ + " is available for download from http://www.jalview.org !!",
+ 50, y += fontSize + 10);