4

Something strange with my java interface. It's drawn very bad.

enter image description here

enter image description here

What could be the problem?

6
  • 1
    "What could be the problem?" nVidia graphics card.. the code.. Commented Sep 24, 2014 at 12:57
  • @Mohit Its most probably not related to the code.May be some power optimization options in lappy would help.
    – joey rohan
    Commented Sep 24, 2014 at 13:02
  • @joeyrohan May be you are right. But we can not come to an answer on the basis of this snippet. right ?
    – Mohit
    Commented Sep 24, 2014 at 13:07
  • At first I created gui in code and there was this problem. After that I decided to use some of form builder for eclipse. Now I use eclipse plugin called JFormDesigner but the problem has remained. So it's no code problem.
    – Long Smith
    Commented Sep 24, 2014 at 13:19
  • Thanks. Joey rohan's answer has solved the problem.
    – Long Smith
    Commented Sep 24, 2014 at 13:22

1 Answer 1

4

This creates problem with JDK 8, which can be solved by changing your graphics card settings.

Source: Swing rendering appears broken in JDK 1.8, correct in JDK 1.7

0

Not the answer you're looking for? Browse other questions tagged or ask your own question.