Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 JTextArea vs. TextArea Problems
Index -> Programming, Java -> Java Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Russ355




PostPosted: Wed Jun 08, 2005 10:06 pm   Post subject: JTextArea vs. TextArea Problems

I am having 2 seperate probems using JTextAreas and normal TextAreas

The probem with JTextAreas:
When the user is typing in text, the textarea keeps stretching when the user types more into it, instead of adding scroll bars like you would assume.

The probem with TextAreas:
When using TextAreas and JMenuBars, when the menubar is clicked, the menus appear behind the textarea, so that the text area is always in fromt of the menus, meaning that if any part of the menu is at he same spot as the menue, the menu will not be shown.

If anybody can solve one or both of these issues, I would appreciate it a lot.
Sponsor
Sponsor
Sponsor
sponsor
wtd




PostPosted: Wed Jun 08, 2005 10:54 pm   Post subject: (No subject)

Your JTextArea class has to be embedded in a JScrollPane.
Display posts from previous:   
   Index -> Programming, Java -> Java Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: