How to make an editable Label to Show Password Characters

Hi All,

I’m Using a juce::Label, which is editable…

I’m Setting a Password character(to show a circular blob) and works fine when the label acts as a text editor…

But when the label loses its focus and the juce::TextEditor component is destroyed, the password character is shown no more… The text is shown as it is…

Any Help regarding this… any walkthrough??

Thanks and regards,
Dinesh