remove component from initComponent()

Posted by jouzef19 on Stack Overflow See other posts from Stack Overflow or by jouzef19
Published on 2010-05-21T23:15:30Z Indexed on 2010/05/21 23:20 UTC
Read the original article Hit count: 196

Filed under:
|

hi i am using netBeans editor to create desktop application , i did something wrong that generate three line of code in the initComponent() method related to connection with database. Then i removed the lines by opening the .java file in txt editor , but one of them keep coming back when i do anything with netBeans editor , So i want to delete this line from the netbeans itself . this is the line

historyList = java.beans.Beans.isDesignTime() ? java.util.Collections.emptyList() : ((javax.persistence.Query)null).getResultList();

and this is its declaration

private java.util.List<idetect.History> historyList;

© Stack Overflow or respective owner

Related posts about java

Related posts about netbeans6.8