From: gmungoc Date: Mon, 14 Jan 2019 14:25:11 +0000 (+0000) Subject: JAL-2069 clear any error colour when setting threshold from slider X-Git-Tag: Release_2_11_1_0~82 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=35f590cdfe3352c8f6a0592a1f1bf64925f21b98;p=jalview.git JAL-2069 clear any error colour when setting threshold from slider --- diff --git a/src/jalview/gui/FeatureTypeSettings.java b/src/jalview/gui/FeatureTypeSettings.java index 1163ae6..c4be1c0 100644 --- a/src/jalview/gui/FeatureTypeSettings.java +++ b/src/jalview/gui/FeatureTypeSettings.java @@ -652,6 +652,7 @@ public class FeatureTypeSettings extends JalviewDialog { thresholdValue .setText(String.valueOf(slider.getValue() / scaleFactor)); + thresholdValue.setBackground(Color.white); // to reset red for invalid sliderValueChanged(); } }