Forum: Java Nov 28th, 2005 |
| Replies: 7 Views: 6,095 Also, make sure you added the actionlistener to the component. |
Forum: Java Nov 27th, 2005 |
| Replies: 7 Views: 6,095 In the action performed method, include all of your current code inside of an if statement that checks which button was clicked.
Example:
if(e.getSource==<name of button>)
{
//CODE GOES HERE.
} |
Forum: IT Professionals' Lounge Feb 27th, 2005 |
| Replies: 7 Views: 3,675 So View>Source doesnt work - thats weird |