You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Vasily Zakharov (JIRA)" <ji...@apache.org> on 2007/08/07 10:49:59 UTC
[jira] Created: (HARMONY-4605) [classlib][swing][html] tag
behaves incorrectly
[classlib][swing][html] <b> tag behaves incorrectly
---------------------------------------------------
Key: HARMONY-4605
URL: https://issues.apache.org/jira/browse/HARMONY-4605
Project: Harmony
Issue Type: Bug
Components: Classlib
Reporter: Vasily Zakharov
If <b> tag is followed by a whitespace, that whitespace is not visible.
Here's the simple test demonstrating the problem:
import java.awt.event.*;
import javax.swing.*;
public class Test {
public static void main(String argv[]) {
try {
JFrame frame = new JFrame("Test");
frame.addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent event){
System.exit(0);
}
});
JEditorPane editorPane = new JEditorPane("text/html", "pre <b>bold</b> after");
frame.add(editorPane);
frame.setSize(150, 100);
frame.setVisible(true);
} catch (Exception e) {
e.printStackTrace(System.out);
}
}
}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HARMONY-4605) [classlib][swing][html] tag
behaves incorrectly
Posted by "Vasily Zakharov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-4605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12521523 ]
Vasily Zakharov commented on HARMONY-4605:
------------------------------------------
The same problem (whitespace disappearing after the tag) also occurs for <a>, <strong>, <i>, <em>, <code>, <tt> and maybe other tags.
See HARMONY-4662 for screenshot examples.
> [classlib][swing][html] <b> tag behaves incorrectly
> ---------------------------------------------------
>
> Key: HARMONY-4605
> URL: https://issues.apache.org/jira/browse/HARMONY-4605
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Vasily Zakharov
> Attachments: Harmony.jpg, RI.jpg
>
>
> If <b> tag is followed by a whitespace, that whitespace is not visible.
> Here's the simple test demonstrating the problem:
> import java.awt.event.*;
> import javax.swing.*;
> public class Test {
> public static void main(String argv[]) {
> try {
> JFrame frame = new JFrame("Test");
> frame.addWindowListener(new WindowAdapter() {
> public void windowClosing(WindowEvent event){
> System.exit(0);
> }
> });
> JEditorPane editorPane = new JEditorPane("text/html", "pre <b>bold</b> after");
> frame.add(editorPane);
> frame.setSize(150, 100);
> frame.setVisible(true);
> } catch (Exception e) {
> e.printStackTrace(System.out);
> }
> }
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HARMONY-4605) [classlib][swing][html] tag
behaves incorrectly
Posted by "Vasily Zakharov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-4605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12518116 ]
Vasily Zakharov commented on HARMONY-4605:
------------------------------------------
Attached are screenshots demonstrating the problem.
> [classlib][swing][html] <b> tag behaves incorrectly
> ---------------------------------------------------
>
> Key: HARMONY-4605
> URL: https://issues.apache.org/jira/browse/HARMONY-4605
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Vasily Zakharov
> Attachments: Harmony.jpg, RI.jpg
>
>
> If <b> tag is followed by a whitespace, that whitespace is not visible.
> Here's the simple test demonstrating the problem:
> import java.awt.event.*;
> import javax.swing.*;
> public class Test {
> public static void main(String argv[]) {
> try {
> JFrame frame = new JFrame("Test");
> frame.addWindowListener(new WindowAdapter() {
> public void windowClosing(WindowEvent event){
> System.exit(0);
> }
> });
> JEditorPane editorPane = new JEditorPane("text/html", "pre <b>bold</b> after");
> frame.add(editorPane);
> frame.setSize(150, 100);
> frame.setVisible(true);
> } catch (Exception e) {
> e.printStackTrace(System.out);
> }
> }
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HARMONY-4605) [classlib][swing][html] tag
behaves incorrectly
Posted by "Vasily Zakharov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-4605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vasily Zakharov updated HARMONY-4605:
-------------------------------------
Attachment: Harmony.jpg
> [classlib][swing][html] <b> tag behaves incorrectly
> ---------------------------------------------------
>
> Key: HARMONY-4605
> URL: https://issues.apache.org/jira/browse/HARMONY-4605
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Vasily Zakharov
> Attachments: Harmony.jpg, RI.jpg
>
>
> If <b> tag is followed by a whitespace, that whitespace is not visible.
> Here's the simple test demonstrating the problem:
> import java.awt.event.*;
> import javax.swing.*;
> public class Test {
> public static void main(String argv[]) {
> try {
> JFrame frame = new JFrame("Test");
> frame.addWindowListener(new WindowAdapter() {
> public void windowClosing(WindowEvent event){
> System.exit(0);
> }
> });
> JEditorPane editorPane = new JEditorPane("text/html", "pre <b>bold</b> after");
> frame.add(editorPane);
> frame.setSize(150, 100);
> frame.setVisible(true);
> } catch (Exception e) {
> e.printStackTrace(System.out);
> }
> }
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HARMONY-4605) [classlib][swing][html] tag
behaves incorrectly
Posted by "Vasily Zakharov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-4605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vasily Zakharov updated HARMONY-4605:
-------------------------------------
Attachment: RI.jpg
> [classlib][swing][html] <b> tag behaves incorrectly
> ---------------------------------------------------
>
> Key: HARMONY-4605
> URL: https://issues.apache.org/jira/browse/HARMONY-4605
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Vasily Zakharov
> Attachments: Harmony.jpg, RI.jpg
>
>
> If <b> tag is followed by a whitespace, that whitespace is not visible.
> Here's the simple test demonstrating the problem:
> import java.awt.event.*;
> import javax.swing.*;
> public class Test {
> public static void main(String argv[]) {
> try {
> JFrame frame = new JFrame("Test");
> frame.addWindowListener(new WindowAdapter() {
> public void windowClosing(WindowEvent event){
> System.exit(0);
> }
> });
> JEditorPane editorPane = new JEditorPane("text/html", "pre <b>bold</b> after");
> frame.add(editorPane);
> frame.setSize(150, 100);
> frame.setVisible(true);
> } catch (Exception e) {
> e.printStackTrace(System.out);
> }
> }
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.