This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Patch for: [dark] description text area for inspect results is not readable | ||
---|---|---|---|
Product: | java | Reporter: | markiewb |
Component: | Hints | Assignee: | Svata Dedic <sdedic> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | PATCH_AVAILABLE |
Priority: | P3 | ||
Version: | 7.4 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
Shows the issue and the patch in action
Proposed patch |
Created attachment 142421 [details]
Proposed patch
I like to propose this patch to solve the issue.
The patch changes the type of the descriptionpanel from JTextPane to JEditorPane and sets the client property HONOR_DISPLAY_PROPERTIES.
Please review and commit. See the already attached screenshot.
Yes, this JEditorPane can be seen elsewhere (i.e. java hint description component in options). Integrated as rev. http://hg.netbeans.org/jet-main/rev/00bf2efcd7b5 |
Created attachment 142420 [details] Shows the issue and the patch in action * open a java project * invoke "Source|Inspect" with all analysers ACTUAL: description in inspection result view is black on dark background - see screenshot EXPECTED: description in inspection result view is LAF-aware Dark metal Product Version: NetBeans IDE 7.4 (Build 201310012201) Updates: NetBeans IDE is updated to version NetBeans 7.4 Patch 1 Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08 Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb) User directory: C:\Users\markiewb\AppData\Roaming\NetBeans\7.4 Cache directory: C:\Users\markiewb\AppData\Local\NetBeans\Cache\7.4