Java 1.5 JOptionPane paint bug when using panel message/workaround?

自作多情 提交于 2019-12-05 17:54:41

This bug seems to be reporducible on Java 1.5 up to Java 7 running on Windows Vista and XP (probably also on Win7)

Take a look at this bug report (Bug ID: 6859086)

The most likely cause of the problem is a GDI resource leak. See if you could track GDI resources consumed by the java process with either task manager or process explorer.

EDIT: According to the bug report the workaround is not available but you may try to play around with a couple of runtime options:

  • -Dswing.handleTopLevelPaint=false
  • -Dsun.java2d.d3d=true
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!