United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-4723383 : Incomplete RTF support in javax.swing.text.rtf.RTFEditorKit

Details
Type:
Bug
Submit Date:
2002-07-31
Status:
Open
Updated Date:
2014-03-30
Project Name:
JDK
Resolved Date:
Component:
client-libs
OS:
generic
Sub-Component:
javax.swing
CPU:
generic
Priority:
P4
Resolution:
Unresolved
Affected Versions:
1.4.0,5.0u29,6u30,7u1,8
Targeted Versions:
tbd_major

Related Reports

Sub Tasks

Description
Name: gm110360			Date: 07/30/2002


FULL PRODUCT VERSION :
java version "1.3.1_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_01)
Java HotSpot(TM) Client VM (build 1.3.1_01, mixed mode)

FULL OPERATING SYSTEM VERSION : Microsoft Windows 2000
[Version 5.00.2195]


A DESCRIPTION OF THE PROBLEM :
The javax.swing.JEditorPane is supposed to handle rtf
documents through the usage of
javax.swing.text.rtf.RTFEditorKit , however the JEditorPane
documentation mentions that support for rtf is limited,
also the RTFEditorKit documentation says that this class
wasn't written by the swing team. I have found a bug
(4261277) dating Aug 10, 1999 which addressed the same
issue and was closed as "will not fix" the reason
was "We're not likely to get to it any time soon, and thus
I'm closing
this out as will not fix.
" !!

REPRODUCIBILITY :
This bug can be reproduced always.
(Review ID: 153726) 
======================================================================

                                    

Comments
EVALUATION

There are at least two set of problems that need to be solved before
this bug can be resolved.

1. Resource limitations. There are many higher priority bugs and given the
resources we have right now it is not likely we get to this bug any
time soon.

There are a lot of other bugs which need to be fixed before we can get decent
RTF rendering. Even if the work on this RTF bug starts today the rendering will
have some problems until those bugs are resolved. Swing-text implementation has
multiple layers :
                core
    plain text       styled text
                   html        rtf

Bugs in 'core' or 'styled text' most likely going to affect RTF too. Because of
that they have higher priority. It seems there are much more use cases for html
than for RTF because of that html bugs have higher priority. 

2. What RTF standard to support. With what product we want to be
compatible.

There is a way to contribute fixes to jdk trough
Java Development Kit Community Projects
https://jdk.dev.java.net/

Everyone is welcome to participate.
                                     
2006-06-08
Swing_JEditorPane/Manual/TextComponentsLAFTest
                                     
2013-03-26
The same issue on unbuntu12.04-x86,jdk8b104(32bit)
Swing_JEditorPane/Manual/TextComponentsLAFTest 
                                     
2013-08-29



Hardware and Software, Engineered to Work Together