Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-07-2009, 01:23 PM
Member
 
Join Date: Mar 2009
Posts: 3
Rep Power: 0
Chintan Patel is on a distinguished road
Smile How To add the Text field to the TextArea or TextPane
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
Bookmark Post in Technorati
Reply With Quote
  #2 (permalink)  
Old 04-07-2009, 03:03 PM
Fubarable's Avatar
Moderator
 
Join Date: Jun 2008
Posts: 5,968
Rep Power: 7
Fubarable is on a distinguished road
Default
I know that this can be done in Swing by changing the layout of the JTextArea, and possibly it can be done in AWT too by doing the same thing, but I'm trying to think if I've ever seen a commercial application show something like this, and I haven't. If the developers of commercial apps think that this is a bad idea, perhaps you should too.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 04-08-2009, 12:49 AM
Darryl.Burke's Avatar
Senior Member
 
Join Date: Sep 2008
Location: Madgaon, Goa, India
Posts: 662
Rep Power: 2
Darryl.Burke is on a distinguished road
Default
Just another cross poster.
How to Add the Text field to the TextArea or TextPane (Swing / AWT / SWT / JFace forum at JavaRanch)
Swing - Adding ImageIcon to a JButton going wild

db
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 04-08-2009, 03:46 AM
Fubarable's Avatar
Moderator
 
Join Date: Jun 2008
Posts: 5,968
Rep Power: 7
Fubarable is on a distinguished road
Default
Thanks for the warning, Darryl. I will certainly think twice before answering his questions again.
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
launching Jframe from text field crunchymonkey AWT / Swing 4 10-15-2008 03:50 AM
get numeric value from a text field Lehane_9 New To Java 2 06-14-2008 04:19 AM
Regarding Text Field adeeb AWT / Swing 1 06-06-2008 12:01 AM
Waste Space & Text Field Gajesh Tripathi AWT / Swing 2 12-01-2007 08:44 AM
Append text inputed in the textfield into a TextArea romina AWT / Swing 1 08-07-2007 06:35 AM


All times are GMT +2. The time now is 05:27 PM.



VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org