Rendering Issues Windows XP
816932Nov 20 2010 — edited Nov 26 2010Hi,
I am completely stumped with a repaint issue in my app.
The application is a fullscreen app. There are JDialogs which appear on top of the main fullscreen JFrame from time to time. All windows are undecorated!
The problem is that sometimes the dialogs do not show and sometimes it looks like they do not disappear after being closed. However, if i rub my finger over the screen (touchscreen) then bits of the dialog will either appear/disappear as appropriate. That means it is a rendering /repaint issue ..
The times when this problem occurs are extremely random. Some installs may not notice for upto one year then it could happen a few times in a week..
All of my GUI code is called from within the EDT thread and i use the swinghelper class CheckThreadViolationRepaintManager to ensure that this is always the case. This should mean i have no repaint problems such as are happening. The EDT is not stuck either when these repaint issues occur as i monitor that to ensure this.
I also set the flag -Dsun.java2d.noddraw=true which i have read can fix some rendering issues on win32 installs. However this does not appear to fix it in all situations.
My biggest problem is how to debug this? Are there any other reasons why this might happen?
Thanks in advance..
BTW: the majority of the jvm's this happen on are 1.6_16 but i also have one running 1.6_22 (latest i think!)