This is an automated email from the ASF dual-hosted git repository.

fschumacher pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git


The following commit(s) were added to refs/heads/master by this push:
     new b914b71364 Correct theme for darklaf on rsyntaxtextarea
b914b71364 is described below

commit b914b713640ffd88b935786d13c0acce51b04259
Author: Felix Schumacher <[email protected]>
AuthorDate: Tue Jul 5 16:16:38 2022 +0200

    Correct theme for darklaf on rsyntaxtextarea
    
    The id of the theme has been changed to all lowercase
    
    Bugzilla Id: 66517
    Closes #719
---
 .../src/main/java/org/apache/jmeter/gui/action/LookAndFeelCommand.java  | 2 +-
 xdocs/changes.xml                                                       | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/src/core/src/main/java/org/apache/jmeter/gui/action/LookAndFeelCommand.java 
b/src/core/src/main/java/org/apache/jmeter/gui/action/LookAndFeelCommand.java
index 864a3e552e..260c59f4f8 100644
--- 
a/src/core/src/main/java/org/apache/jmeter/gui/action/LookAndFeelCommand.java
+++ 
b/src/core/src/main/java/org/apache/jmeter/gui/action/LookAndFeelCommand.java
@@ -200,7 +200,7 @@ public class LookAndFeelCommand extends AbstractAction {
     }
 
     public static boolean isDarklafTheme() {
-        return "Darklaf".equals(UIManager.getLookAndFeel().getID()); // 
$NON-NLS-1$
+        return "Darklaf".equalsIgnoreCase(UIManager.getLookAndFeel().getID()); 
// $NON-NLS-1$
     }
 
     public static boolean isDark() {
diff --git a/xdocs/changes.xml b/xdocs/changes.xml
index 1130e30954..84bb8e3ce4 100644
--- a/xdocs/changes.xml
+++ b/xdocs/changes.xml
@@ -145,6 +145,7 @@ Summary
 
 <h3>General</h3>
 <ul>
+  <li><bug>66157<bug><pr>719</pr>Correct theme for darklaf on 
rsyntaxtextarea</li>
 </ul>
 
  <!--  =================== Thanks =================== -->

Reply via email to