Name: gm110360 Date: 08/16/2004 FULL PRODUCT VERSION : java version "1.5.0-beta3" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta3- Java HotSpot(TM) Client VM (build 1.5.0-beta3-b60, mixed mode) ADDITIONAL OS VERSION INFORMATION : Microsoft Windows XP [Version 5.1.2600] EXTRA RELEVANT SYSTEM CONFIGURATION : graphics card : GeForce 4 nv 440 A DESCRIPTION OF THE PROBLEM : (seems to be related to 4967352 but not sure) Wrong display of text in JeditorPane when displayed in a JScrollPane When moved Vertically some of the text will become very ugly and some letters are wrongly positioned. This bug seems to appear only when bidi text is introduced. STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : use the given code with the test html and move down and up slowly and fast and you will see the problem (I will send you a png with the problem described) EXPECTED VERSUS ACTUAL BEHAVIOR : EXPECTED - text displayed correctly ACTUAL - text display unconsistently way when moved up and down ERROR MESSAGES/STACK TRACES THAT OCCUR : No error message are given REPRODUCIBILITY : This bug can be reproduced often. ---------- BEGIN SOURCE ---------- java code : import javax.swing.*; import java.io.*; public class JEditorTestCase{ public static void main(String[] args){ JFrame frame = new JFrame("test frame"); try{ frame.getContentPane().add(new JScrollPane(new JEditorPane("file:c:/test.html"))); } catch(IOException ioe){ ioe.printStackTrace(); } frame.setDefaultCloseOperation(frame.EXIT_ON_CLOSE); frame.setSize(300,600); frame.setVisible(true); } } html code : (test.html) <html> <head> <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="TEXT/HTML; CHARSET=WINDOWS-1255"> </head> <body bgcolor="F9F5F0" style="padding-right: 10px;" align="right" dir="rtl"> <b><u> Simple test Html test case English part : </u> </b> <br> This is a test for Wrong display of text in JeditorPane when displayed in a JScrollPane <br> When moved Vertically some of the text will become very ugly and some letter are wrongly positionned. <br> <b> This bug seems to appear only when bidi text are introduced. <br> For that reason Hebrew text are inserted at the end . </b> <br> These two line are reproduced <br> a lot of times to give the user the the ability to scrool Verticaly <br> These two line are reproduced <br> a lot of times to give the user the the ability to scrool Verticaly <br> These two line are reproduced <br> a lot of times to give the user the the ability to scrool Verticaly <br> These two line are reproduced <br> a lot of times to give the user the the ability to scrool Verticaly <br> These two line are reproduced <br> a lot of times to give the user the the ability to scrool Verticaly <br> These two line are reproduced <br> a lot of times to give the user the the ability to scrool Verticaly <br> These two line are reproduced <br> a lot of times to give the user the the ability to scrool Verticaly <br> These two line are reproduced <br> a lot of times to give the user the the ability to scrool Verticaly <br> These two line are reproduced <br> a lot of times to give the user the the ability to scrool Verticaly <br> These two line are reproduced <br> a lot of times to give the user the the ability to scrool Verticaly <br> These two line are reproduced <br> a lot of times to give the user the the ability to scrool Verticaly <br> These two line are reproduced <br> a lot of times to give the user the the ability to scrool Verticaly <br> These two line are reproduced <br> a lot of times to give the user the the ability to scrool Verticaly <br> These two line are reproduced <br> a lot of times to give the user the the ability to scrool Verticaly <br> לאחר מכן יש להקליק על הכפתור "חפש" והמחשב יציג את רשימת התוצאות. בחירה באחת מהן תוביל לצפיה במקטע או בעמוד המתאים בספר. <br> לאחר מכן יש להקליק על הכפתור "חפש" והמחשב יציג את רשימת התוצאות. בחירה באחת מהן תוביל לצפיה במקטע או בעמוד המתאים בספר. <br> לאחר מכן יש להקליק על הכפתור "חפש" והמחשב יציג את רשימת התוצאות. בחירה באחת מהן תוביל לצפיה במקטע או בעמוד המתאים בספר. <br> לאחר מכן יש להקליק על הכפתור "חפש" והמחשב יציג את רשימת התוצאות. בחירה באחת מהן תוביל לצפיה במקטע או בעמוד המתאים בספר. <br> לאחר מכן יש להקליק על הכפתור "חפש" והמחשב יציג את רשימת התוצאות. בחירה באחת מהן תוביל לצפיה במקטע או בעמוד המתאים בספר. <br> לאחר מכן יש להקליק על הכפתור "חפש" והמחשב יציג את רשימת התוצאות. בחירה באחת מהן תוביל לצפיה במקטע או בעמוד המתאים בספר. <br> לאחר מכן יש להקליק על הכפתור "חפש" והמחשב יציג את רשימת התוצאות. בחירה באחת מהן תוביל לצפיה במקטע או בעמוד המתאים בספר. <br> לאחר מכן יש להקליק על הכפתור "חפש" והמחשב יציג את רשימת התוצאות. בחירה באחת מהן תוביל לצפיה במקטע או בעמוד המתאים בספר. <br> לאחר מכן יש להקליק על הכפתור "חפש" והמחשב יציג את רשימת התוצאות. בחירה באחת מהן תוביל לצפיה במקטע או בעמוד המתאים בספר. <br> לאחר מכן יש להקליק על הכפתור "חפש" והמחשב יציג את רשימת התוצאות. בחירה באחת מהן תוביל לצפיה במקטע או בעמוד המתאים בספר. <br> לאחר מכן יש להקליק על הכפתור "חפש" והמחשב יציג את רשימת התוצאות. בחירה באחת מהן תוביל לצפיה במקטע או בעמוד המתאים בספר. <br> לאחר מכן יש להקליק על הכפתור "חפש" והמחשב יציג את רשימת התוצאות. בחירה באחת מהן תוביל לצפיה במקטע או בעמוד המתאים בספר. <br> לאחר מכן יש להקליק על הכפתור "חפש" והמחשב יציג את רשימת התוצאות. בחירה באחת מהן תוביל לצפיה במקטע או בעמוד המתאים בספר. <br> לאחר מכן יש להקליק על הכפתור "חפש" והמחשב יציג את רשימת התוצאות. בחירה באחת מהן תוביל לצפיה במקטע או בעמוד המתאים בספר. <br> לאחר מכן יש להקליק על הכפתור "חפש" והמחשב יציג את רשימת התוצאות. בחירה באחת מהן תוביל לצפיה במקטע או בעמוד המתאים בספר. <br> לאחר מכן יש להקליק על הכפתור "חפש" והמחשב יציג את רשימת התוצאות. בחירה באחת מהן תוביל לצפיה במקטע ###@###.### 10/5/04 23:36 GMT או בעמוד המתאים בספר. <br> </body> </html> ---------- END SOURCE ---------- CUSTOMER SUBMITTED WORKAROUND : No bypass (Incident Review ID: 297164) ======================================================================
|