View Single Post
  #6 (permalink)  
Old 06-03-2008, 10:10 PM
sukatoa's Avatar
sukatoa sukatoa is offline
Senior Member
 
Join Date: Jan 2008
Location: Cebu City, Philippines
Posts: 527
sukatoa is on a distinguished road
Send a message via Yahoo to sukatoa
How then could i do, such a wicked thing, and sin against the netbeans...

after the button clicked, the method
Quote:
jButton1ActionPerformed
should be invoked....

And? i didn't say put that sample method to that actionPerformed...

Code:
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...
__________________
A specific, detailed, simple, well elaborated, and "tested before asking" question may gather more quick replies. hopefully
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Last edited by sukatoa : 06-03-2008 at 10:13 PM.
Reply With Quote