JTextArea vs. TextArea Problems
Author |
Message |
Russ355
|
Posted: 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
|
|
|
wtd
|
Posted: Wed Jun 08, 2005 10:54 pm Post subject: (No subject) |
|
|
Your JTextArea class has to be embedded in a JScrollPane. |
|
|
|
|
|
|
|