how do you lock a textbox in an html page. i need to know both methods either in java or html.
Printable View
how do you lock a textbox in an html page. i need to know both methods either in java or html.
Im going to take a stab at this off the top of my head and if i get it wrong i will come back with the correct answer.
I think that it is setEditable(false)
Since JTextArea and JTextField are subclasses of TextComponent they inherit the methods of TextComponent which void setEditable(boolean b) is one of them.
yeah, thats it i think. If you have jbuilder with codeinsight on just type the name of the textbox and put a "." after it. It should pop up with all those options then :D