• Post Reply Bookmark Topic Watch Topic
  • New Topic

Reduce Flickering

 
Amit Dubey
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The best way to do this use Double-buffering.IN this you can take a image object.draw whatever you want to draw on the image .Then in the paint or the update method draw this image by using drawImage().This will prove effective
 
Sean Casey
Ranch Hand
Posts: 625
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is very true. Do you have a question?
 
Amit Dubey
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Sean Casey:
This is very true. Do you have a question?

Hey!hi..Ya i am using a JApplet in an HTML page.In the JAVASCRIPT code of tht page i want to access the JApplets variables and public functions..DO u have any idea how i can do this?
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!