With Windows Look and Feel, NetBeans 3.4RC1
(JavaHelp 1.1.2), and JDK 1.4.0_01, the highlight
background color is dark blue which is unreadable
with black text. The help topic
"Setting Font and Color for the Help Viewer"
says to edit
guide/ide.css, but there's nothing there that
will help because this is a Swing issue:
is a workaround.
See thread at
Gail, I'll put a note in the README for 3.4, but the fact the user can
not actually use the css to change the background highlighting should
probably be addressed explicitly for 4.0. AFAIK, the unreadability is
only an issue on JDK 1.4 with the Windows look and feel.
I put a note in the help topic that you cannot set the
highlight color using the style sheet.
Patrick, since the highlight color for the help viewer cannot
currently be easily changed, should we reassign this bug and ask
for a fix in the code? This should be fixed for accessibility.
There already is a JDK bug number assigned 4761990. It looks like it won't be fixed for JDK 1.4.2, but it
will be done after that.
I'm going to marked this bug as fixed as a note has been added
to the help topic and the bug number 4761990 is assigned to
fixing the highlighting problem in the source code.
for some reason, the bug isn't publicly visible through Bug Parade. Here are some relevant excerpts from
A DESCRIPTION OF THE PROBLEM :
In javahelp the search highlight was previously a light
grey color. Now the search highlight appears as a dark
blue - in checking this on Windows this highlight co-
incides with the color defined in the windows area
of 'Appearance/Scheme/selected item property.' This is
fine in windows where the underlying font changes property
to display as white when a dark color is displayed, but in
this case the underlying font does *not* change color when
a dark color is used in this selection. Whatever swing
previously used in this area, please return to it.
EXPECTED VERSUS ACTUAL BEHAVIOR :
Previously the highlight was a light gray (using the
default windows color scheme) now the highlight is a dark
blue (using the same color scheme.) After looking at the
color scheme the color of the highlight can be changed by
changing the color of the 'selected item property'.
CUSTOMER WORKAROUND :
Change the selected item property on the windows system.
However, doing this also changes default windows uses.
Refer to the comments section, based on the feedback this sounds like an
RFE for the ability for highlights to effect text color, or to have highlights
automatically change the text color to be selectedTextColor.
Not sure if its important, but this also affects every
JGoodies L&F. Perhaps unimportant, but since JGoodies was
released under a BSD license this week, I suspect it's
going to become more commonly used.
I added a comment about the JGoodies issue to the Bug Parade issue.
removing RELNOTE keyword; BTW, the background color issue has now been
fixed in NB independent of the supposed JDK fix