JDK-4723383 : Incomplete RTF support in javax.swing.text.rtf.RTFEditorKit
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 1.4.0,5.0u29,6u30,7u1,8
  • Priority: P4
  • Status: Closed
  • Resolution: Incomplete
  • OS: generic
  • CPU: generic
  • Submitted: 2002-07-31
  • Updated: 2023-07-27
  • Resolved: 2023-07-27
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.
Other
tbdResolved
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
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
The same issue on unbuntu12.04-x86,jdk8b104(32bit) Swing_JEditorPane/Manual/TextComponentsLAFTest
29-08-2013

Swing_JEditorPane/Manual/TextComponentsLAFTest
26-03-2013

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.
08-06-2006