JDK-6891269 : non-compliance with Section 508 using 1.6.0_18
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 6u18
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: windows
  • CPU: x86
  • Submitted: 2009-10-13
  • Updated: 2011-10-18
  • Resolved: 2010-10-19
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 6
6u22-rev b07Fixed
Description
Test case requires JInitiator - which is available, I will place 1.3.1.28 in /net/cores.central/cores/71792376 along with test case. Browser should be IE, not netscape. I will also try to attach test case and JInitiator to bug.


1. Modify the applet.html file to reflect the version of JInitiator on your client machine.  There are two locations that need to be changed if you don't have JInitiator 1.3.1.28 on the client:

<OBJECT classid="clsid:CAFECAFE-0013-0001-0028-ABCDEFABCDEF" WIDTH="400" HEIGHT="300">

<PARAM NAME="TYPE"              VALUE="application/x-jinit-applet;version=1.3.1.28">

For example, if you have JInitiator 1.3.1.26 change the '28' on each line to "26".

2.  Place applet.html, applet_jre.html, and Applet1.class in your ORACLE_HOME/forms/java directory.

3.  Run the applet by entering the following URL into your IE browser ->

http://machine.domain:port/forms/java/applet.html

4. You should see an applet appear with an AWT text area and a button on it.

Note:  applet_jre.html is included so the same applet can be run with JRE 1.6.0_16. It can be modified to run with other JRE versions by modifying the following tag ->


<OBJECT classid="clsid:CAFEEFAC-0016-0000-0016-ABCDEFFEDCBA" WIDTH="400" HEIGHT="300">

The JRE can be run using IE with this URL ->


http://machine.domain:port/forms/java/applet_jre.html
TESTCASE STEP-BY-STEP INSTRUCTIONS:
-----------------------------------
In Windows go to:
Control Panel=>Accessibility Option=>Display
Under Cursor Options move slider all the way to the right to make it as wide
as possible.
Select apply
--
From the supplied readme
2.  Place applet.html, applet_jre.html, and Applet1.class in your
ORACLE_HOME/forms/java directory.

3.  Run the applet by entering the following URL into your IE browser ->
http://machine.domain:port/forms/java/applet.html

4. You should see an applet appear with an AWT text area and a button on it.

Note:  applet_jre.html is included so the same applet can be run with JRE
1.6.0_16. It can be modified to run with other JRE versions by modifying the
following tag ->
<OBJECT classid="clsid:CAFEEFAC-0016-0000-0016-ABCDEFFEDCBA" WIDTH="400"
HEIGHT="300">

The JRE can be run using IE with this URL ->
http://machine.domain:port/forms/java/applet_jre.html
--
Not that inside of forms cursor is a narrow vertical bar, while in other
areas of the browser or other tools it is not.

Comments
SUGGESTED FIX To make caret height equals to client area of AwtTextComponent instance I'll try to simply call ::GetClientRect and use RECT::bottom field.
18-02-2010

SUGGESTED FIX Adding WM_SETFOCUS, WM_KILLFOCUS and WM_SETTINGCHANGED handlers should fix the issue. Also additional field will be added to store caret width between two WM_SETTINGCHANGED messages.
17-11-2009

EVALUATION AwtTextArea class doesn't contain source code which handles system metrics changes. *** (#1 of 1): [ UNSAVED ] ###@###.###
17-11-2009