Home arrow static arrow Java Programming [Archive] - Auto Form Fill
Warning: Creating default object from empty value in /www/htdocs/w008deb8/wiki/components/com_staticxt/staticxt.php on line 51
Java Programming [Archive] - Auto Form Fill
This topic has 2 replies on 1 page.

Posts:2
Registered: 8/2/04
Auto Form Fill  
Aug 2, 2004 12:39 PM



 
I have created a swing based program that will allow users to store userID\Passwords and other similar sensitive items. A feature I would like to add is that if the user stores a userID and Password for a online account, and he wants to visit that site, I want to be able to auto fill thier data into the webpage fields. I guess it would be similar functionality to the autocomplete function in IE-Explorer. Basically the user would push a button and Netscape or Explorer would pop up and this program could fill in the necessary fields to reduce the amount of typing for the user.

Does anyone have any idea on how this might be done? Thanks in adavnce, JV
 

Posts:343
Registered: 7/13/04
Re: Auto Form Fill  
Aug 2, 2004 12:44 PM (reply 1 of 2)



 
can't you just write a method so that when the user checks a check box you store that information in a variable, when they log on next time it recalls it, setting the text in the field to the string value what you want
 

Posts:2
Registered: 8/2/04
Re: Auto Form Fill  
Aug 2, 2004 1:05 PM (reply 2 of 2)



 
Actually what I am looking to fill will be web based, for example let say that someone stores a user name and password for online banking. Then the user wants to check out thier account balance, so I use something like:
Process p = Runtime.getRuntime().exec("C:
Program Files
Internet Explorer
IEXPLORE.exe \'www.bankofamerica.com\"");

So IE Explorer pops up with the "Bank of America" webpage opened up.

Now what I want to do is take the username and password that has been stored in this seperate swing program, and fill that information into the correct text fields on the webpage for the user, instead of having the user do it manually.

 
This topic has 2 replies on 1 page.