Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
12.0
-
None
-
Product Version: Apache NetBeans IDE 12.0-beta3
Java: 14; OpenJDK 64-Bit Server VM 14+36
Runtime: OpenJDK Runtime Environment 14+36
System: Mac OS X version 10.15.3 running on x86_64; UTF-8; en_IN (nb)
Description
Steps to reproduce
- Start Netbeans with Clean user dir and Java Se 14
- Create a Java application project (maven or Ant)
- Enter a text block (JEP 355)
- Open Options Dialog | Fonts & colors
- Select Java in Language
- Select Text block in category
- Verify that the back ground is #EEDDDD and foreground is Black+Inherited
Expected Result
In the editor The text block in foreground should be black (inherited)
In the editor the text block back ground shoudl be #EEDDDD
Actual result (see attachment textBlock-Default foreground-notapplied.png)
The text block foreground is #CE7B00 which is default for a string literal
The text block background is #EEDDDD
Workaround
Forcing the colors to be not inherited works