| Author |
dealing with setting up text areas
|
Joe Panully
Greenhorn
Joined: Oct 10, 2004
Posts: 22
|
|
PhoneWordsGUI.java:12: <identifier> expected output.setEditable(false); ^ PhoneWordsGUI.java:13: <identifier> expected output.setLineWrap(true); ^ PhoneWordsGUI.java:14: <identifier> expected output.setWrapStyleWord(true); ^ I can't figure out why I'm getting these errors on the said lines if I made sure to include: import javax.swing.*; import java.awt.*; at the top
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26489
|
|
Joe, Can you show the part of your code that says: JTextArea output;
|
[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
|
 |
Joe Panully
Greenhorn
Joined: Oct 10, 2004
Posts: 22
|
|
|
JTextArea output = new JTextArea(10,40);
|
 |
Mike Gershman
Ranch Hand
Joined: Mar 13, 2004
Posts: 1272
|
|
|
Can you post more of your program?
|
Mike Gershman
SCJP 1.4, SCWCD in process
|
 |
Joe Panully
Greenhorn
Joined: Oct 10, 2004
Posts: 22
|
|
Nevermind, I realized I had my code just in the wrong method.
|
 |
 |
|
|
subject: dealing with setting up text areas
|
|
|