Sooo...
I just started designing the GUI for an application that I'm writing..
And, well, I can't get either the awt.TextArea OR the swing.JTextArea to work properly.
Here are snapshots of both, along with the problems I am experiencing.
If anyone can resolve these problems, please let me know..
I wanted to use JTextArea but it produces errors and functions terribly.
Both examples are enclosed in a JScrollPane, the JTextArea makes use of the Scrollbars, the TextArea does not (though it works well otherwise, besides displaying its OWN scrollbars).
Pay no attention to the sloppiness, the JLabels, etc, as I've just begun putting the GUI together. ;)
Swing.JTextArea -- Produces errors during runtime, JScrollBar works, but widgit functions terribly
[IMG]http://i12.photobucket.com/albums/a248/CudmoreMB/RandForums/dsktop_snapshot_JTextArea.jpg[/IMG]
Awt.TextArea -- Works welll, but isn't displaying its own ScrollBars properly, nor does it make ues of the JScrollPane
[IMG]http://i12.photobucket.com/albums/a248/CudmoreMB/RandForums/dsktop_snapshot_3.jpg[/IMG]
And yes, I've called the...
JSP.setVerticalScrollBarPolicy (JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
JSP.setHorizontalScrollBarPolicy (JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS);
And the...
new TextArea("", 5, 5, TextArea.SCROLLBARS_BOTH);