United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7071674 Cannot use bidi in Swing html text
JDK-7071674 : Cannot use bidi in Swing html text

Details
Type:
Enhancement
Submit Date:
2011-07-27
Status:
Open
Updated Date:
2013-05-20
Project Name:
JDK
Resolved Date:
Component:
client-libs
OS:
generic
Sub-Component:
javax.swing
CPU:
generic
Priority:
P3
Resolution:
Unresolved
Affected Versions:
7u2
Targeted Versions:
8-pool

Related Reports
Relates:

Sub Tasks

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



Hardware and Software, Engineered to Work Together