Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

java paint problem - black components

I am having a weird java problem - For some reason quite often when I open a dialog it becomes black. When I force a repaint (for example, draging it out and into the screen again) it draws itself normaly again. The problem seems to occur only on my computer (The same code works for a friend), and its not just one class - it seems that almost every dialogs I open (on different projects) gets this problem. Even JOptionPane.showMessageDialog() gets this problem. Even weirder, it even happens when I am opening the java control panel! What can I do? It drives me crazy! If it matters I am running on windows 7, My GPU is ATI HD4800 with the latest CATALYST driver installed. Thanks in advance!

An example of the problem: http://img233.imageshack.us/i/javablackscreen.png/

like image 487
Ran Avatar asked Apr 21 '11 11:04

Ran


1 Answers

Generally every problem I've seen regarding java flickering, black windows etc was on an ATI card. Even I have the issue on HD3450 and Win7 64-bit.

See also: https://superuser.com/questions/266332/flickering-java-application-gui-on-windows-7

like image 71
hekeli Avatar answered Oct 26 '22 22:10

hekeli