• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Java Rendering Graphic Issue

Posts: 2
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please Help Provide Solution to Java Graphics Issue:


Win 7/Win 8
(testing in Win 7)


I currently have an application that has been built with the Nimbus (Java Swing).


There is a graphics rendering problem with Swing and/or Nimbus with JDK 1.7 and/or 1.8 (current).
Both text AND images seem to be affected.

Problem seems to happen when running java application and multiple windows overlay each other or if windows size is changed (maximized for example).



1. I have only found a workaround listed online (in one of these provided links here), regarding NVIDIA video cards, but I cannot use this, as I cannot as users to do this.

2. I also had my developer try this fix, but it was unsuccessful:

("In case the issue is caused by your graphics driver, setting one of the system properties below could help. Not quite sure if the props are still supported in Java 7.


3. I tried rolling back my NVIDIA card to JDK 1.7 but had same problem.

-I don't think it's a spacing/layout issue, because it does not only happen when I change windows sizes, but also if I have multiple windows overlaying each other. Minimizing and maximizing the problematic windows (if possible) seems to temporarily correct the problem.


So, how may this be fixed? I need this to just work with the most up to date version of java, which as of today is Version 8, Update 45 (JDK 01.8.45).

I don't know if Oracle is not supporting Swing and/or Nimbus or if this can be fixed and how.

Ranch Hand
Posts: 789
Python C++ Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I ran the program in your first link and didn't have any problem, with either 1.7 or 1.8.
Daniel Sevier
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Thanks for testing it.

I also tried it out on another computer (running Win 7 and OSX) with no problems, and then I tried it in OSX on the computer in which I am having the problem in Win, and no problems. (I have 2 MacBook pros, running bootcamp). So, I don't know.

So, it seems I only have problems with this one computer running Win.

Not sure why. Maybe something with the NVIDIA card and Windows.

Here's the weird thing....The only time I see similar rendering glitches in when I run NVIDIA GeForce control panel. I contacted NVIDIA, but they did not know if java is used to run this program.

However, interesting observation.

Any ideas are appreciated

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!