JDK-7071674 : Cannot use bidi in Swing html text
  • Type: Enhancement
  • Status: Open
  • Resolution: Unresolved
  • Component: client-libs
  • Sub-Component: javax.swing
  • Priority: P3
  • Affected Version: 7u2
  • OS: generic
  • CPU: generic
  • Submit Date: 2011-07-27
  • Updated Date: 2017-07-03
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 Availabitlity Release.

To download the current JDK release, click here.
Other
tbd_majorUnresolved
Related Reports
Relates :  
Description
SYNOPSIS
--------
Cannot use bidi in Swing html text

OPERATING SYSTEM
----------------
All

FULL JDK VERSION
----------------
All

PROBLEM DESCRIPTION from LICENSEE
---------------------------------
It is currently impossible to use bidi html text in Swing components, due to the fact that the span tag and its "dir" attribute are not supported by the HTML parser built into the JDK.

We understand that this could be considered part of the the umbrella CR 4296022 (opened back in 1999), which deals with updating the HTML parser to comply with HTML 4.x, but we feel that this particular aspect deserves to be considered separately. Currently it is impossible for the whole of the Middle Eastern market to use HTML in Swing components. Implementing this specific part of the HTML 4.x specification would be a small amount of work compared to the activity requested under CR 4296022.

TESTCASE
--------
Attached

REPRODUCTION INSTRUCTIONS
-------------------------
Run the attached testcase and observe that it is impossible to set the direction of HTML text in swing components.

Comments
- this is an issue reported against 7(7u), - there are now affected version 9 filed for this issue - 7u issues are transferred to Sustaining Nevertheless if someone have a report against 9 - please reopen and add affectedVersion 9 or 7u specific escalations might be reopen to Sustaining
2014-08-10

- this is an issue reported against 7(7u), - there are now affected version 9 filed for this issue - 7u issues are transferred to Sustaining Nevertheless if someone have a report against 9 - please reopen and add affectedVersion 9 or 7u specific escalations might be reopen to Sustaining
2014-08-10