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.