Results 1 to 2 of 2
Like Tree2Likes
  • 2 Post By KevinWorkman

Thread: Repaint not working

  1. #1
    Drizzt is offline Member
    Join Date
    Jan 2012
    Rep Power

    Default Repaint not working

    I'm currently making an Uno game and i have a problem with the graphics. The game starts but then, when i draw a card, when it's supposed to update the specific panel in which i have used repaint, it doesn't show anything different. Only when i click fullscreen on the window it shows the changes in the panel that it should have. Any ideas? I have also tried to repaint the whole frame but the result is the same. Thanks in advance

  2. #2
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Washington, DC
    Rep Power

    Default Re: Repaint not working

    If you want help with a problem like this, you're going to have to post an SSCCE that demonstrates the problem. Note that this should NOT be your whole program, just a few lines that show us what's going on. Chances are, in the course of narrowing it down to an SSCCE, you'll figure it out on your own.
    Fubarable and quad64bit like this.
    How to Ask Questions the Smart Way
    Static Void Games - GameDev tutorials, free Java and JavaScript hosting!
    Static Void Games forum - Come say hello!

Similar Threads

  1. Graphics2D repaint bug
    By NextEpisode1 in forum Java 2D
    Replies: 10
    Last Post: 02-10-2011, 12:50 PM
  2. repaint every
    By 3xpr1ment in forum AWT / Swing
    Replies: 10
    Last Post: 03-23-2010, 05:39 PM
  3. Repaint() not working
    By Catkill in forum AWT / Swing
    Replies: 3
    Last Post: 09-09-2009, 10:51 PM
  4. Replies: 8
    Last Post: 05-28-2008, 07:00 AM
  5. Repaint problem
    By swimberl in forum Java 2D
    Replies: 0
    Last Post: 01-06-2008, 03:28 AM

Posting Permissions

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