TEXTBOX ENABLING/DISABLING WITH CHECKBOX AND WRITING TEXTBOX VALUE TO FILE

Related to Java Web Programming

I`m having having textfile in.txt in the following format :

#export NAME1=VALUE1
export NAME2=VALUE2
#export NAME3=VALUE3
export NAME4=VALUE4
#######
###########
#export NAME5=VALUE5
export NAME6=VALUE6

WITH GUI form which displays a Text box value and name with Checkbox

which reads from in.txt file and displays the Name and Value in GUI Form with following condition :

1. If Line is starting with #export that is displayed with Checkbox Unchecked status along with Name and Value
else
2. If Line is starting with export that is displayed with Checkbox Checked status along with Name and Value.

Now User wants to change selection of Checkboxes : The selected checkboxes appropriate Names and Values should be written to file in the above format.

(If checkbox is selected means line should be written with export followed by Name and Value else #export followed by Name and Value)


Plz Helpme to comeout from this problem .


........ Thanks in Advance


Detailed description : Powered by Google Docs Powered by Google Docs Powered by Google Docs