 Javanese kings claimed to rule with divine authority and the Dutch helped them to preserve remnants of a Javanese aristocracy by confirming them as regents or district officials within the colonial administration.Java's major role during the early part of the colonial period was as a producer of rice.In spice producing islands like Banda, rice was regularly imported from Java, to supply the deficiency in means of subsistence.