JDK-7089914 : Focus on image icons are not visible in javaws cache with high contrast mode
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 7,8
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic,windows_xp
  • CPU: generic,x86
  • Submitted: 2011-09-13
  • Updated: 2013-06-26
  • Resolved: 2012-03-06
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7 JDK 8
7u40Fixed 8 b29Fixed
Description
FULL PRODUCT VERSION :
This is first reported with java6. java7 contains it as well. And the current java8 internal build.

ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP [Version 5.1.2600]

A DESCRIPTION OF THE PROBLEM :
In windows high contrast mode, java web start uses black as the color for paint focus, however the background is black, so the focus can not be seen.

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Run one javaws application.
2. Go to "Control panel -->Accessibility options --> the Display tab" .
3. Select "Use high Contrast". Click on "Settings" button and ensure that
"High contrast black(extra language)" in the color scheme.
4. Make sure that you have one jnlp imported in java cache viewer.(The 1st
step did.)
5. Run the following command to invoke java cache viewer
>>javaws -viewer
6. Select "Applications" in show combo box.
7. Select the any application present in java cache viewer.
8. Now, using Tab key to go to icons present in java cache viewer.(i.e Run
icon, Show icon etc..)




EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Focus should be visible on focused image icons.
ACTUAL -
Focus will not be visible on focused image icons.

REPRODUCIBILITY :
This bug can be reproduced always.

Comments
EVALUATION Whe should check components background and if it's black - change focus color to white. Actually that's not the best solution, but works for high conrast modes
16-02-2012