Can anybody please tell me any specific reason for making paint() method in CustomItem class as protected ? As you know protected methods can only be called from within the package or any subclasses of the class in other packages. So say I drive a class from CustomItem and define a paint() method as PROTECTED. Then how the J2Me environment is able to call this PAINT() method. Its protected so can not be called from outside the package. I know it works but want to know how it works.