Why did Australia drop bombs on Japanese in World War 2?

They were at war with each other and, to my knowledge they did not bomb the Japanese mainland only where Japanese troops were based, New Guinea for example.