I bred my java to some mixed peas ..they had great temperments.
I raised them in the house, if i left the room they would fly around looking for me. Once they were grown..well id pull into the driveway & they would come running or flying..its not easy trying to dodge 5 full sized peafowl all trying to land on your shoulders at the same time.
By that age i couldnt have them living in the house, but they wanted to be inside..so they would sit on the rail by my kitchen window & poke the glass & stare in all day. I would still let them parade in and out to raid the dogfood bowl when they "knocked" at the door though.
I think with peafowl that its just a matter of how you raise them, to me they proved to be the most tamable & domestic acting birds of all the species ive ever owned, better than a sailors parrot lol. There was no difference in temperment between the javas & the spauldings or the blues ..except in the ones i purchased already grown..which it was obvious they had very little or no human interaction.