• Post Reply Bookmark Topic Watch Topic
  • New Topic

JTextComponent  RSS feed

 
Swamy Vatti
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi....
Can any one tell me which TextComponent should I use if it has to be partly editable.
Thanks a million
Swamy
 
Shay Gaghe
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
what you mean by "partial editable" ? you can use all the JTextComponent in a partial way. mostly by combining editable and uneditable text fields.
 
Swamy Vatti
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Shay Gaghe
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
You can learn about JTextComponents in this great tutorial:
How
to use JTextComponents

Sincerely
S.Gaghe

[This message has been edited by Shay Gaghe (edited October 11, 2001).]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!