Listing 8 calls that actionPerformed method
Will leave it as an exercise for the student to investigate the other parameters.
Listing 8. Set the zoom state. |
---|
//Simulate an action event on the zoom menu to // set the zoom. explorer.actionPerformed(new ActionEvent( explorer, ActionEvent.ACTION_PERFORMED, zoomString)); }//end actionPerformed }//end newActionListener );//end addActionListener |
File: av.htm | [Next] | [Prev] |