awt - java use methods automatically? -


in oracle site found class load image. tried run things don't understand how methods paint , getpreferredsize launched without been call.

this class: loadimageapp

can kindly explain it?

those methods override methods in base class.

the awt base classes call methods arrange , render ui


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

keyboard - C++ GetAsyncKeyState alternative -

android - java.net.UnknownHostException(Unable to resolve host “URL”: No address associated with hostname) -