When the dough rises up the surface, remove it with a slotted spoon and shake off the excess water. Mix it back into the main dough and knead well to form a smooth dough. Cover the dough and set aside for about 15 minutes.
Bring a pot of water to boil. Pinch a small piece of dough (about 15 g each) and flatten lightly. Fill the center of the dough with Gula Melaka or palm sugar. Roll it in your palms to form a smooth ball. Repeat the same until all ingredients are used up.
Cook the onde-onde balls in boiling water. When they float to the surface, remove them with a slotted spoon and shake off the excess water. Coat the onde-onde with grated coconut and serve immediately.