Whenever a JButton is clicked, it generates a(n) ____.

A. FocusEvent
B. ComponentEvent
C. ActionEvent
D. InputEvent


Answer: C

Computer Science & Information Technology

You might also like to view...

Which of the following code snippets creates a Line and uses a RotateTransition object to animate it for seven seconds?

a. Line myLine = new Line(25, 50, 100, 50); RotateTransition rtrans = new RotateTransition(new Duration(7000), myLine); b. Line myLine = new Line(25, 50, 100, 50); RotateTransition rtrans = new RotateTransition(new Duration(7), myLine); c. Line myLine = new Line(25, 50, 100, 50); RotateTransition rtrans = new Duration(7000), myLine; d. Line myLine = new Line(25, 50); RotateTransition rtrans = new RotateTransition(new Duration(7000), Line);

Computer Science & Information Technology

Which of the following X.25 features allows the DTEs to specify the size of the packet and other parameters?

a. throughput class negotiation b. reverse charging c. flow control negotiation d. none of the above

Computer Science & Information Technology

One of the advantages of Web-based e-mail is its availability from any computer that's connected to the Internet.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

The Windows kernel includes what two main components?

A. Background services B. executive services C. HAL D. shell

Computer Science & Information Technology