100% de satisfacción garantizada Inmediatamente disponible después del pago Tanto en línea como en PDF No estas atado a nada 4.2 TrustPilot
logo-home
Examen

Java II Chapter 14: Introduction to Swing Components Questions and Answers| Latest Update

Puntuación
-
Vendido
-
Páginas
9
Grado
A+
Subido en
21-03-2025
Escrito en
2024/2025

Java II Chapter 14: Introduction to Swing Components Questions and Answers| Latest Update

Institución
JAVA
Grado
JAVA









Ups! No podemos cargar tu documento ahora. Inténtalo de nuevo o contacta con soporte.

Escuela, estudio y materia

Institución
JAVA
Grado
JAVA

Información del documento

Subido en
21 de marzo de 2025
Número de páginas
9
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas

Temas

Vista previa del contenido

Java II Chapter 14: Introduction to Swing Components
Questions and Answers| Latest Update

The ____ responds to keyboard events.
a. KeyListener
b. ActionListener
c. ChangeListener

d. FocusListener ✔️✔️a. KeyListener


The JButton, JCheckBox, JComboBox, and JRadioButton components are associated with the
____ method.
a. addAdjustmentListener()
b. addChangeListener()
c. addWindowListener()

d. addItemListener() ✔️✔️d. addItemListener()


A method that executes because it is called automatically when an appropriate event occurs is
an event ____.
a. responder
b. listener
c. handler

d. source ✔️✔️c. handler


Which method do you use to change the state of a JCheckBox?
a. void setSelected(boolean)
b. boolean isSelected()
c. void setText(String)

, d. String getText() ✔️✔️a. void setSelected(boolean)


Within an implementation of the itemStateChanged() method, you can use the ____ method to
determine which object generated the event, and the getStateChange() method to determine
whether the event was a selection or a deselection.
a. getSource()
b. getEvent()
c. getItem()

d. getState() ✔️✔️c. getItem()


When you create a(n) ____, you can group several components, such as JCheckBoxes, so a user
can select only one at a time.
a. CheckGroup
b. ButtonGroup
c. OptionBox

d. OptionGroup ✔️✔️b. ButtonGroup


A ____ is a component that combines a button or an editable field and a drop-down list.
a. JCheckBox
b. JComboBox
c. JButton

d. JTextBox ✔️✔️b. JComboBox


The ____ method of JComboBox returns the maximum number of items the combo box can
display without a scroll bar.
a. getSelectedItem()
b. getItemCount()
c. getMaximumRowCount()

Conoce al vendedor

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
Copilot Harvard University
Ver perfil
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
21
Miembro desde
1 año
Número de seguidores
0
Documentos
4415
Última venta
1 semana hace
A+ GRADES

ON THIS PAGE YOU WILL FIND VERIFIED STUDY MATERIALS TO BOOST YOUR CAREERS. (EXAMS, STUDY GUIDES, TEST BANKS, PRACTICE TEST QUESTIONS, TEXT BOOKS & CLASS NOTES FOR ALL COURSES) LETS WORK SMART TO EXCEL, WELCOME!!!

4.9

8 reseñas

5
7
4
1
3
0
2
0
1
0

Recientemente visto por ti

Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes