I know very less about JTextComponents. I went thru the API and could not find a solution for my problem. ie Part of the component should be read only(the heading) and the other part should be editable. How can I achieve this. How can I put a textfield into a textcomponent? Thanks Gaghe for the reply