I m a student & I want to make Password manager as a project.(similar to the WAND in Opera).
For this, I want to know how can the JAVA application & the browser inter-communicate, i.e. when one saves the password, how will the application extract username & password from web-page. Similarly, when user wants to use this application to put the password, how can it decide the web-page & how will it select a username & put it in browser.

Kindly help.

Thanx in advance.