java paint problem - black components

前端 未结 4 1107
遥遥无期
遥遥无期 2021-01-18 21:08

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

4条回答
  •  悲哀的现实
    2021-01-18 21:28

    After a recent ati driver update I got the black control problem (and it's 2013 to my greatest astonishment); what helped me was disabling 2d/d3d acceleration:

    java -Dsun.java2d.d3d=false -jar whatever.jar
    

提交回复
热议问题