When i run the lineJOptionPane.showMessageDialog(null, "Test");
in eclipse I get the message dialog but there seems to be a problem with the graphics. I have re-installed the latest JDK and have had no luck in solving the issue.
Asked
Active
Viewed 65 times
0

Eric Goncalves
- 5,253
- 4
- 35
- 59
-
Are there any heavy threads running in the background? – Maroun Feb 12 '15 at 19:54
-
@MarounMaroun I don't understand what you mean by heavy threads – Eric Goncalves Feb 12 '15 at 19:58
-
Just to be sure: You are using the `JOptionPane` from the EDT, right? – Ordous Feb 12 '15 at 19:58
-
@Ordous It has the same effect – Eric Goncalves Feb 12 '15 at 20:08
-
This could be an issue with your video card/drivers; for example http://stackoverflow.com/questions/23780564/java-swing-graphics-glitch – MadProgrammer Feb 12 '15 at 20:19
-
@MadProgrammer Thank you, the issue was a problem with my graphics card. I followed the link and it solved my issue. – Eric Goncalves Feb 12 '15 at 20:35
-
I've had issues with Radeon cards as well, needing to disable DirectX and use OpenGL (or something like that) – MadProgrammer Feb 12 '15 at 20:38