Skip to main content



      Home
Home » Archived » Visual Editor (VE) » setDocument ( doc )
setDocument ( doc ) [message #607722] Wed, 11 May 2005 11:15
Eclipse UserFriend
Hello,



I have a JTextField and if I call jTextField.setDocument(..) I get an
exception: java.lang.IllegalArgumentException(..too complicated..). Can it
be a bug ?




Here is a code:




private JTextField getJTextField() {
if (jTextField == null) {
jTextField = new JTextField();

Document doc1 = new PlainDocument();

jTextField.setDocument(doc1);

}
return jTextField;
}





Thanks
Elena
Previous Topic:Clarifications on using BeanInfo customizers?
Next Topic:Firewall Problem With VE
Goto Forum:
  


Current Time: Tue Jun 24 10:19:18 EDT 2025

Powered by FUDForum. Page generated in 0.04256 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top