answersLogoWhite

0

Whenever a screen needs redrawing (e.g., upon creation, resizing, validating) the update method is called. By default, the update method clears the screen and then calls the paint method, which normally contains all the drawing code.

User Avatar

Wiki User

17y ago

What else can I help you with?

Related Questions

What is update method called in java?

The update() method is defined by the AWT and is called when your applet has requested that a portion of its window be redrawn. The problem is that the default version of update() first fills an applet with the default background colour and then calls paint(). You can override the update() method. The paint() in this case will simply call update(). public void update(Graphic g) { //Redisplay your window here. } public void paint(Graphics g) { update(g); // call to the update()method. }


How do i update my netflix payment method if i am paying through my BT instead of my credit card or my PayPal?

You will need to go online to your Netflix account and go to settings to update your payment method. You can also call and update the payment method.


Will android one phone receive the lollipop update in February?

Yes. Users of Android One Phone will get the update through over the air update method.


What is a query that changes data called?

An Update query.An Update query.An Update query.An Update query.An Update query.An Update query.An Update query.An Update query.An Update query.An Update query.An Update query.


Will they be a another update for minecraft?

Yes, there will be the 1.5 update, also called the redstone update. it will come out in february 2013!


How do you update your PS3 system without the internet?

Just where would you get the information to update it from without the internet. The system can not be updated without it being downloaded and then loaded into the PS3. I'm not trying to give you a hard time it's just that you need the internet just to read this answer. Sony PlayStation network has a section devoted to system software updates and support. They have PC update method and Disc update method as well as system update method. A link to this information has been added under related links I have another suggestion for an easy update method if you have a friend with a TV and a WiFi connection. Just take your PS3 over to there house and hook it up and download and update. Because after reading the other methods this seems much easier for someone without the internet. Also you will need the internet just to download the information.


What is air update method?

an air update is the various methods of distributing new software updates,configuring settings and updating encription keys to devices like mobile phones.


Can you update your dsi and still use your r4i?

yes you can but you need to download a software called r4i update


In VB.NET what method is used to modify a table?

SQL UPDATE statement is used to modify a record in a table.


The question-and-answer technique that is designed to make people examine their beliefs is called?

It is called the Socratic method.


What method can be called without the instance of a class?

static method


What is first call in struts2 default constructor or validate method?

Default Constructor will be called first . If you override Validate method , then validate method will be called .