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: | Empty Search Results window has hard-coded white background - causing problem in dark LaF | ||
---|---|---|---|
Product: | utilities | Reporter: | Petr Somol <psomol> |
Component: | Search | Assignee: | Jaroslav Havlin <jhavlin> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | saubrecht |
Priority: | P3 | Keywords: | UI |
Version: | 7.4 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 225542 | ||
Attachments: | Empty Search Results window has hard-coded white background |
(In reply to comment #0) > Created attachment 130845 [details] > Empty Search Results window has hard-coded white background The used color is SystemColor.text. Please, don't you know which system color or UIManager's color should be used? Thank you. Try UIManager.getColor("white"); http://hg.netbeans.org/core-main/rev/a9fecccbd297 I've taken value "Tree.textBackground". It will hopefully look fine for most L&Fs (tested with Windows, Nimbus and Dark Nimbus). Thanks for reporting and help! Integrated into 'main-golden', will be available in build *201302072300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/a9fecccbd297 User: Jaroslav Havlin <jhavlin@netbeans.org> Log: #225548: Empty Search Results window has white background |
Created attachment 130845 [details] Empty Search Results window has hard-coded white background While working on dark look-and-feel it showed up that Search Results window by default displays background in white instead of the LaF specific color. Once any content is displayed in the window, the problem disappears (after Find in Projects is performed to yield any found results). This is not a functional bug but it notably disrupts the quality of dark look-and-feels.