How then could i do, such a wicked thing, and sin against the netbeans...
after the button clicked, the method
should be invoked....
And? i didn't say put that sample method to that actionPerformed...
eg.
private void jButton1ActionPerformed(netbeans style) {
addList();
}
put that addList beside those existing methods in your main class
What i mean to MyMainClass is the class you've coded where the main method exists....
I assumed you textFields are also in that main class...