Results 1 to 2 of 2
  1. #1
    anthropamorphic's Avatar
    anthropamorphic is offline Senior Member
    Join Date
    Jun 2011
    Rep Power

    Default Java Game Doesn't Work With Java 7

    Java Game Doesn't Work With Java 7

    Hello JavaForums,

    For some reason when I updated Java on my mac to Java 7, my game no longer update it's graphics. (The repaint method no longer worked.) Is there by chance a new method that needs to be used for Java 7 to update graphics? Thanks in advance.


  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Madgaon, Goa, India
    Rep Power

    Default Re: Java Game Doesn't Work With Java 7

    Chances are your program doesn't respect Swing's single threaded rule and/or uses getGraphics() of a Component. In the absence of any code, that's just a guess though.

    To get better help sooner, post a SSCCE (Short, Self Contained, Correct (Compilable), Example) that demonstrates the problem.

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

Similar Threads

  1. Replies: 13
    Last Post: 10-04-2012, 08:45 PM
  2. Java Swing - JLabel setText() doesn't work
    By Zyril in forum New To Java
    Replies: 6
    Last Post: 07-29-2012, 10:51 PM
  3. Replies: 11
    Last Post: 03-14-2012, 08:30 PM
  4. Robot Schreenshot doesn't work in game
    By Giuseppe_Mazzei in forum Advanced Java
    Replies: 1
    Last Post: 05-29-2011, 05:31 AM
  5. webstart link some time doesn't work after Java upgrade
    By Richard Gillespie in forum Advanced Java
    Replies: 0
    Last Post: 12-21-2010, 05:01 PM

Tags for this Thread

Posting Permissions

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