Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Java swing buttons are flickering in windows 7 environment

  1. #1
    Junior Member
    Join Date
    Feb 2011
    Thanked 0 Times in 0 Posts

    Default Java swing buttons are flickering in windows 7 environment

    Hi All,

    I need a suggestion on how to avoid flickering of swing components(especially buttons) in windows 7 environment.

    I face this problem after i connect to the printer for a print operation from my swing application. Before this print operation the buttons are fine even in Windows 7 environment, but immediately after the print operation the buttons in the entire application start to blink/flicker when I hover the mouse on those components.

    I do not have this problem in windows XP. Please suggest me how to avoid this. Is this the problem with OS or do i need to modify swing code.


  2. #2
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Washington, DC
    My Mood
    Thanked 636 Times in 540 Posts

    Default Re: Java swing buttons are flickering in windows 7 environment

    Since you don't post any code, we can't really tell you whether or not you should change it.

    If you want help, you'll have to provide an SSCCE (that's a link, but the program should be as small as possible) that demonstrates the problem.
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

Similar Threads

  1. Java swing buttons are flickering in windows 7 environment
    By javasam in forum Member Introductions
    Replies: 1
    Last Post: February 17th, 2011, 09:51 AM
  2. Hiring Senior Java Developer Trading Environment
    By dsquare in forum Paid Java Projects
    Replies: 0
    Last Post: January 18th, 2011, 09:20 AM
  3. [SOLVED] Problem with swing-buttons
    By Minken in forum AWT / Java Swing
    Replies: 8
    Last Post: October 15th, 2010, 09:20 PM
  4. Replies: 1
    Last Post: March 11th, 2009, 04:41 PM
  5. Replies: 1
    Last Post: July 10th, 2008, 05:03 AM