Results 1 to 3 of 3
  1. #1
    .paul. is offline Member
    Join Date
    Jun 2012
    Posts
    73
    Blog Entries
    1
    Rep Power
    0

    Default set jFrame double buffered

    how can i set my jFrame graphics double buffered?
    i noticed that jComponents have a double buffered property but not the jFrame.

    my application repaints on Form_Mousemove + flickers too much.

    i'd rather learn how to do this with the jFrame than transfer the graphics into a component that supports double buffering.

    thanks for any help

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,242
    Rep Power
    19

    Default Re: set jFrame double buffered

    Quote Originally Posted by .paul. View Post
    my application repaints on Form_Mousemove + flickers too much.

    i'd rather learn how to do this with the jFrame than transfer the graphics into a component that supports double buffering.
    You really expect someone on a forum to rack their brains to find how to do something the wrong way?

    Lesson: Performing Custom Painting (The Java™ Tutorials > Creating a GUI With JFC/Swing)

    All Swing components are double buffered by default.

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  3. #3
    .paul. is offline Member
    Join Date
    Jun 2012
    Posts
    73
    Blog Entries
    1
    Rep Power
    0

    Default Re: set jFrame double buffered

    Quote Originally Posted by DarrylBurke View Post
    You really expect someone on a forum to rack their brains to find how to do something the wrong way?

    Lesson: Performing Custom Painting (The Java™ Tutorials > Creating a GUI With JFC/Swing)

    All Swing components are double buffered by default.

    db
    thankyou, but if i knew it was the wrong way i wouldn't be asking

Similar Threads

  1. Replies: 0
    Last Post: 05-24-2012, 08:37 PM
  2. Double Buffered
    By hqt in forum Java 2D
    Replies: 2
    Last Post: 02-02-2012, 04:14 AM
  3. double a * double b = weird output
    By GPB in forum New To Java
    Replies: 3
    Last Post: 03-26-2010, 10:40 AM
  4. Double.valueOf() vs Double.parseDouble()
    By greenbean in forum New To Java
    Replies: 10
    Last Post: 01-12-2009, 08:39 AM
  5. How to detect double click with a JFrame
    By Jary316 in forum New To Java
    Replies: 3
    Last Post: 01-05-2009, 08:39 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •