|
Ok, Here what happened is, that ActionLitener deals with the ActionEvent. As you can see in the above code it's get the action command, that is the text of your control. So try to do the same thing on the other class and check it on this class. If you pass the test, simply call the correct functions. I don't think you can generate the code there.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Has someone helped you? Then you can To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. their helpful post.
Want to make your IDE the best? To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|