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.

Bug 65553 - [50cat] Selected items in combos/lists are impossible to read
Summary: [50cat] Selected items in combos/lists are impossible to read
Status: VERIFIED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P4 blocker (vote)
Assignee: Jan Chalupa
URL:
Keywords:
: 66075 68156 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-09-30 18:26 UTC by misterm
Modified: 2006-02-14 17:55 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description misterm 2005-09-30 18:26:03 UTC
[ BUILD # : 5.0 beta ]
[ JDK VERSION : 1.4.2_xx ]

Both in combos/lists displayed in the New Module Project wizard and in NetBeans Platform Manager (the Platform list, for instance) cannot be read when selected since the foregound color is black and not white (as expected).
Comment 1 Martin Krauskopf 2005-10-01 07:31:57 UTC
Strange. Please could you attach a screenshot? We are using just swing JComboBox.

Radku please evaluate, I don't have a convinient access to Windows OS... and I'm
leaving to vacation :) Thanks.
Comment 2 Jan Chalupa 2005-10-02 20:23:36 UTC
Re: "We are using just swing JComboBox".

Right, but with a custom cell renderer
(ComponentFactory.NbPlatformsListRenderer). The rendered doesn't seem to take
into account the selection status.
Comment 3 Jan Chalupa 2005-10-02 20:32:43 UTC
Fixed in trunk. Used List.foreground and List.selectionForeground instead of
Label.foreground UI defaults.

Checking in ComponentFactory.java;
/cvs/apisupport/project/src/org/netbeans/modules/apisupport/project/ui/platform/ComponentFactory.java,v
 <--  ComponentFactory.java
new revision: 1.6; previous revision: 1.5
Comment 4 Jan Chalupa 2005-10-03 22:23:09 UTC
Previous fix simplified per jglick's suggestion.

Checking in ComponentFactory.java;
/cvs/apisupport/project/src/org/netbeans/modules/apisupport/project/ui/platform/ComponentFactory.java,v
 <--  ComponentFactory.java
new revision: 1.7; previous revision: 1.6
Comment 5 Jan Chalupa 2005-10-06 09:35:59 UTC
*** Issue 66075 has been marked as a duplicate of this issue. ***
Comment 6 misterm 2005-10-14 20:05:01 UTC
Works on Q-Build 20051013
Comment 7 Jan Chalupa 2005-11-05 18:59:51 UTC
*** Issue 68156 has been marked as a duplicate of this issue. ***