Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » setDocument ( doc )
setDocument ( doc ) [message #607722] Wed, 11 May 2005 15:15
Elena Demeter is currently offline Elena DemeterFriend
Messages: 152
Registered: July 2009
Senior Member
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: Fri Apr 26 20:37:02 GMT 2024

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

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

Back to the top