Duplicate :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
I have a simple Swing application with a JEditorPane. Upon construction, I give the JEditorPane a particular HTML page to show. Some of the text in the table is corrupted such that multiple lines of the table appear overlapped. Resizing the JFrame sometimes helps and sometimes doesn't - seems to depend on how you resize it. To reproduce: Run the attached test case, OverlapTest.java (requires the attached owners.html). I've attached the test case, the HTML in question, and also a screen shot of the behavior (overlap.bmp). I can't say for sure, but I seem to recall this happening *occasionally* in 1.4.2. In tiger, it happens almost every time I launch the application. I'm not sure if it's relevant but my system is a dual CPU Windows NT 4 box. Note that I'm doing everything (including creating the GUI) on the EDT.
|