1

My machine seems to be experiencing some weird issues with java swing.

enter image description here

This sort of thing happens with other programs as well but the corruption goes away with scrolling or highlighting the text. What could be causing this and why doesn't java go the same? All the characters seem to be cached so that when a character gets corrupted, all of the characters of the same type have the same corruption (not true of anything but java swing).

I have been googling around for this sort of issue but most of them only suggest issues with graphics drivers and settings for windows... (I am running kubuntu)

Side note: Sorry if this doesn't belong here. Didn't really know where else to ask.

Tyler Scott
  • 1,046
  • 17
  • 33
  • Please edit your question to include a [minimal, complete example](http://stackoverflow.com/help/mcve) that reproduces the problem you illustrate. – trashgod Apr 12 '15 at 07:34
  • @trashgod, unfortunately all I can really suggest for reproducing the problem is to open any java application on my computer. I can give you details about what is installed and hardware details but reproducing this issue seems more likely to be drivers or hardware failure. – Tyler Scott Apr 12 '15 at 09:19
  • I am honestly at a loss for why this might be happening and I have a degree in the field that should know... (I think). If its hardware then I understand it but maybe not well enough to know why. – Tyler Scott Apr 12 '15 at 09:23

1 Answers1

1

Among the many possible causes,

  • Verify that all correctly synchronized Java Swing programs using standard font families with the default Look & Feel exhibit this behavior; if not, it may very well be a driver problem.

  • Investigate whether the Ubuntu video driver permits alterations similar to the one required in this Windows case.

  • Try a different window manager.

  • Try a different Look & Feel.

Community
  • 1
  • 1
trashgod
  • 203,806
  • 29
  • 246
  • 1,045
  • It seems to be a mesa thing, I ended up compiling my own version that massively reduced how bad the fonts seemed to get messed up. – Tyler Scott Apr 21 '15 at 02:53
  • Glad you made progress; I try to stick to the logical font families and use a layout manager, for [example](http://stackoverflow.com/a/7189029/230513). – trashgod Apr 21 '15 at 08:42