Quiz 14 - Swing Components

Quiz 14 - Swing Components

11th Grade

10 Qs

quiz-placeholder

Similar activities

แบบทดสอบก่อนเรียน การสร้างภาพเคลื่อนไหว ครั้งที่7

แบบทดสอบก่อนเรียน การสร้างภาพเคลื่อนไหว ครั้งที่7

10th - 12th Grade

10 Qs

Сестрорецк Python Занятие 6

Сестрорецк Python Занятие 6

9th - 12th Grade

15 Qs

Thunkable-Bootcamp SC

Thunkable-Bootcamp SC

7th - 12th Grade

14 Qs

Python 145

Python 145

4th Grade - Professional Development

11 Qs

Introduction to CSS

Introduction to CSS

11th - 12th Grade

15 Qs

Roll-A-Ball Review (Part 2)

Roll-A-Ball Review (Part 2)

9th - 12th Grade

14 Qs

Working with Sound and Video

Working with Sound and Video

11th Grade

10 Qs

App Inventor - Lists, Text, etc

App Inventor - Lists, Text, etc

9th - 12th Grade

15 Qs

Quiz 14 - Swing Components

Quiz 14 - Swing Components

Assessment

Quiz

Computers

11th Grade

Medium

Created by

Casey Devet

Used 107+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

What do we call a special component that holds collections other components?

event

listener

container

component

2.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

What do we call an object that waits for a specific event to happen?

event

listener

container

component

3.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

What do we call the thing that happens whenever the user interacts with the components on the screen?

event

listener

container

component

4.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

What do we call a visible object that is shown on the screen?

event

listener

container

component

5.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Which import statement is NOT needed to run Java Swing programs?

import javax.swing.*;

import java.awt.*;

import javax.swing.event.*;

import java.awt.event.*;

6.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Which method can be called on any component to change the colour of its text?

setTextColor()

setForeground()

setBackground()

setFontColor()

7.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Which of the following can be contained in one JLabel object?

text

an image

text and an image

any of the above

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?