• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to Add the Text field to the TextArea or TextPane

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I want to add the Text field to the TextArea or TextPane, is it possible ?
My aim is i want to read the text fiel in textpane/textarea and want to display the text field near the values which are read from the text file, so i need to display textfield as well as valeus of text file.

I think it may be not possible due to that textarea or textpane is not a contenar.

suggest if any solution is their.

Thanks
Chintan Patel
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What do you mean by "to add the Text field to the TextArea"? You can put both elements next to each other in a layout. Are you somehow imagining putting them on top of one another? (I didn't get the explanation of why you want to do this).
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
yeah. you can add a textfield to the textarea. it is possible. But, the textfield overlaps over the text of the textarea. try if you can make it opaque and adjusting the layout( if possible).
 
Bartender
Posts: 5167
11
Netbeans IDE Opera Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Just another cross poster.
http://www.java-forums.org/awt-swing/18018-how-add-text-field-textarea-textpane.html
http://forums.sun.com/thread.jspa?threadID=5378923
 
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"Selvarajan",
Please check your private messages for an important administrative matter.
 
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Darryl's link for the sun forums cross-post should have been

http://forums.sun.com/thread.jspa?threadID=5378796&tstart=0
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic