Focus on image icons are not visible in javaws cache with high contrast mode (original) (raw)
Sean Chou zhouyx at linux.vnet.ibm.com
Mon Sep 5 07:03:29 UTC 2011
- Previous message: hg: jdk8/swing/jdk: 7064279: Introspector.getBeanInfo() should release some resources in timely manner
- Next message: Focus on image icons are not visible in javaws cache with high contrast mode
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi all, The WindowsLookAndFeel uses hard coded focus color(black) which makes the focus not visible within High Contrast Mode on windows.
The problem can be reproduced as follows:
- Run one javaws application.
- Go to "Control panel -->Accessibility options --> the Display tab" .
- Select "Use high Contrast". Click on "Settings" button and ensure that "High contrast black(extra language)" in the color scheme.
- Make sure that you have one jnlp imported in java cache viewer.(The 1st step did.)
- Run the following command to invoke java cache viewer
javaws -viewer
- Select "Applications" in show combo box.
- Select the any application present in java cache viewer.
- Now, using Tab key to go to icons present in java cache viewer.(i.e Run icon, Show icon etc..)
Observed result: Focus will not be visible on focused image icons. Expected result: Focus should be visible on focused image icons.
The solution is Changing the hard coded focus color to proper loaded color in WindowsLookAndFeel.java . The attachment is a patch for it.
Any comment please ?
-- Best Regards, Sean Chou -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20110905/f73d3f4a/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: OJDK-112.patch Type: application/octet-stream Size: 1944 bytes Desc: not available URL: <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20110905/f73d3f4a/OJDK-112.patch>
- Previous message: hg: jdk8/swing/jdk: 7064279: Introspector.getBeanInfo() should release some resources in timely manner
- Next message: Focus on image icons are not visible in javaws cache with high contrast mode
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]