#OTHER by exept cvs_MAIN
authorClaus Gittinger <cg@exept.de>
Fri, 30 Aug 2019 10:41:51 +0200
branchcvs_MAIN
changeset 3944 d9e46e7216ac
parent 3943 6560aa233f26
child 3945 40fd06fe63d7
#OTHER by exept use allRed and allGray
tools/JavaSettingsApplication.st
--- a/tools/JavaSettingsApplication.st	Thu Aug 29 23:18:34 2019 +0200
+++ b/tools/JavaSettingsApplication.st	Fri Aug 30 10:41:51 2019 +0200
@@ -530,7 +530,7 @@
         ].
     ].    
     release isNil ifTrue:[
-        info := 'No java found (or release is not supported)' withColor:Color red
+        info := 'No java found (or release is not supported)' allRed
     ] ifFalse:[    
         info :='%1 (%2%3) ' bindWith: release name
                                          with: (release jdkHome notNil ifTrue:[ 'JDK' ] ifFalse:[ 'JRE' ])
@@ -609,7 +609,7 @@
         (homesAndReleases anySatisfy: [:release | release javaHome = self javaHomeHolder value ]) ifFalse:[ 
             homesAndReleases addFirst: self javaHomeHolder value.
         ].
-        homesAndReleases addLast: ((resources string:'Autodetect') withColor: Color gray).
+        homesAndReleases addLast: ((resources string:'Autodetect') allGray).
         homesAndReleases.
     ]