-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
6
-
generic
-
generic
FULL PRODUCT VERSION :
java version "1.6.0-ea"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-ea-b14)
Java HotSpot(TM) Client VM (build 1.6.0-ea-b14, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
LinuxAS 3.0
A DESCRIPTION OF THE PROBLEM :
When we create a JTextPane and set a text file using setPage method it throws IllegalArgumentException - Must be StyleEditorKit.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Execute the attached testcase.
2. Once you execute the testcase attached with this bug with Mustang build b14 you can see a IllegalArgumentException thrown. But this is doesn't happen till Mustang build b13.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
No Exception.
ACTUAL -
IllegalArgumentException - Must be StyleEditorKit is thrown.
REPRODUCIBILITY :
This bug can be reproduced always.
###@###.### 2004-12-07 11:13:56 GMT
java version "1.6.0-ea"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-ea-b14)
Java HotSpot(TM) Client VM (build 1.6.0-ea-b14, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
LinuxAS 3.0
A DESCRIPTION OF THE PROBLEM :
When we create a JTextPane and set a text file using setPage method it throws IllegalArgumentException - Must be StyleEditorKit.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Execute the attached testcase.
2. Once you execute the testcase attached with this bug with Mustang build b14 you can see a IllegalArgumentException thrown. But this is doesn't happen till Mustang build b13.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
No Exception.
ACTUAL -
IllegalArgumentException - Must be StyleEditorKit is thrown.
REPRODUCIBILITY :
This bug can be reproduced always.
###@###.### 2004-12-07 11:13:56 GMT
- duplicates
-
JDK-6202214 JTextPane throws Exception when trying to siwtch from text/html to text/plain
-
- Resolved
-
- relates to
-
JDK-6190309 JEditorPane ignores registered EditorKit for text/plain
-
- Resolved
-