[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug swing/24974] New: JTextPane crashes on initialization with multilin
From: |
abalkiss at redhat dot com |
Subject: |
[Bug swing/24974] New: JTextPane crashes on initialization with multiline String including escaped characters |
Date: |
21 Nov 2005 15:39:07 -0000 |
The testcase pasted below crashes. It does so because of the initial text for
the JTextPane (if that text was replaced with "hello" it doesn't crash).
*** TEST CASE ***
import javax.swing.*;
public class JTextPaneProblem {
public static void main(String args[]) {
JTextPane tp = new JTextPane();
tp.setText("Questions are <font size=\"+1\" color=\"blue\">a " +
"burden</font> to others,\n" +
"answers <font size=\"+2\" color=\"red\">a " +
"prison</font> for oneself.");
}
}
--
Summary: JTextPane crashes on initialization with multiline
String including escaped characters
Product: classpath
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: swing
AssignedTo: abalkiss at redhat dot com
ReportedBy: abalkiss at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24974
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug swing/24974] New: JTextPane crashes on initialization with multiline String including escaped characters,
abalkiss at redhat dot com <=