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
Awt.TextArea -- Works welll, but isn't displaying its own ScrollBars properly, nor does it make ues of the JScrollPane
And yes, I've called the...
JSP.setVerticalScrollBarPolicy (JScrollPane.VERTICAL_SCROLLBAR_ALWAYS); JSP.setHorizontalScrollBarPolicy (JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS);
new TextArea("", 5, 5, TextArea.SCROLLBARS_BOTH);