Sponsored by:

Java Buttons help, please?

Java Buttons help, please?

Postby unss94 » Thu Dec 15, 2011 12:53 pm

I need help on these questions, if you can answer any at all that'd be great!
A ________is a component that provides a button control in a GUI application or applet.
The import statement needed to use button components in applets or GUI applications is ________.
The general term for an object that receives notifications of user actions is ____________.
The general term for methods that are invoked as a result of a user action is__________________.
Clicking a button results in the creation of an __________ object to represent the button click.
Clicking a button may result in notification being sent to an______________ object.
The method used to arrange for a button to notify another object when it is clicked later is to an ___________.
The class definition for objects that receive notifications of user operations on controls like buttons must contain the following phrase: ____________
An object that receives notifications of user operations on controls like buttons must provide the _________ method.
The ActionListener interface requires that the ______________ method be implemented.
unss94
 
Posts: 765
Joined: Sat Apr 02, 2011 8:31 am
Top

Java Buttons help, please?

Postby morcan » Thu Dec 15, 2011 12:54 pm

Button
import java.awt.*;
event listener
**I don't know**
ActionEvent
ActionListener
addActionListener(ActionListener al)
implements ActionListener
public void actionPerformed(ActionEvent ae)
public void actionPerformed(ActionEvent ae)
morcan
 
Posts: 804
Joined: Sat Apr 02, 2011 2:16 pm
Top


Return to Class Action

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: crosbey, gustav, jorel, osbourne, regenweald, spengler and 0 guests