Sorry, I have no ideas how to change your times for the program. The timePassed values for the latest program:
// [10, 0, 0, 0, 0, 233, 384, 77, 85, 190, 89, 15, 8, 6, 7, 2, 6, 1, 1, 0, 2, 3, 1, 2, 2, 1, 4, 2, 30, 18]
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.
>> REGISTER NOW TO START POSTING
Members have full access to the forums. Advertisements are removed for registered users.
Sorry, I have no ideas how to change your times for the program. The timePassed values for the latest program:
// [10, 0, 0, 0, 0, 233, 384, 77, 85, 190, 89, 15, 8, 6, 7, 2, 6, 1, 1, 0, 2, 3, 1, 2, 2, 1, 4, 2, 30, 18]
If you don't understand my answer, don't ignore it, ask a question.
You need more than a "method from mainclass". When you call a method of an object you usually do this to alter that object's behavior or state or to query its state, and what matters most and in fact what matters completely is the state and the behavior of the mainclass object that is currently being displayed, not some random mainclass instance that you create for the sole purpose of calling a method.
ok thank you anyway, I'll try on other computers...
Where are your image resources? Can you up load these?
sure, the background is just a yellow rectangle
http://i48.tinypic.com/mto5kg.png
and here's the ball
http://i49.tinypic.com/16c27a8.png
I tried on my father's computer, an old toshiba laptop, and it runs at 60 fps, this makes me angry >
does the fact that I use OSX affect the animation in any way?
someone told me to "enable hardware acceleration" to solve this problem...does anyone have any clue on how to do that?
Also posted at slow java on my computer
If you don't understand my answer, don't ignore it, ask a question.
Not a crime. But it is courteous to post links to other sites where the the topic is posted so everyone can see what progress is being made.
If you don't understand my answer, don't ignore it, ask a question.
I didn't make it cause as far as I know posting a link to another website (rival, i think) on a forum is considered as spam...