Search Results

Showing results 1 to 2 of 2
Search took 0.00 seconds.
Search: Posts Made By: Ghost ; Forum: Java and child forums
Forum: Java Nov 28th, 2005
Replies: 7
Views: 6,150
Posted By Ghost
Also, make sure you added the actionlistener to the component.
Forum: Java Nov 27th, 2005
Replies: 7
Views: 6,150
Posted By Ghost
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.
}
Showing results 1 to 2 of 2

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC