Computers and Technology
Computers and Technology, 19.03.2021 18:10, sameh0425

Main Window with 6 buttons (Show, Add, Remove, Pause, ChangeDirection, Exit) and a checkbox group (BIRD, ROCKET, and UFO) Show button - When clicked, a new subwindow should be displayed. If the window does not already exist, it should be created.
Add button - When clicked, a new BIRD, ROCKET, or UFO shape (depending on which checkbox is selected) is added to the subwindow, at a random location. When added, the BIRD, ROCKET, or UFO is automatically in motion across the screen. If the subwindow is not currently showing, it is displayed (first being created, if necessary).
Note: If multiple shapes are clicked, all of the selected shapes must be added.
Remove button - When clicked, the most recently added shape is removed. If the subwindow is not
currently showing, the button has no effect.
Pause button – When clicked, all the shapes stop moving.
ChangeDirection button – When clicked, all the shapes move to the opposite direction.
Exit button – When clicked, all the windows should close and the application should terminate.
Checkbox group - Checkboxes for BIRD, ROCKET, and UFO that specify whether a BIRD, a ROCKET, or
a UFO is added when the Add button is pressed. The initial state of the checkbox group should have
the BIRD box checked. Multiple checkbox can be checked.
Note: BIRD, ROCKET, and UFO must have more than two colors.
Subwindow which has one JLabel and two buttons (Hide and Exit)
JLabel – Displays the BIRDs, ROCKETs, and UFOs that are added to
Hide button – When clicked, the subwindow disappears but continues to exist. The animation should
halt when the subwindow is hidden.
Exit button in the subwindow – When clicked, the subwindow should be closed and destroyed. The
main window should NOT be closed.

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 10:00, danthehero56
Which of the following is true of operations within a spreadsheet program’s built-in functions? a. operations within parentheses, then multiplication and division, and then addition and subtraction are computed. b. operations within parentheses, then addition and subtraction, and then multiplication and division are computed. c. multiplication and division, then addition and subtraction, and then operations within parentheses are computed. d. addition and subtraction, then multiplication and division, and then operations within parentheses are computed
Answers: 2
image
Computers and Technology, 22.06.2019 22:00, bbysl15
What is the name of the option in most presentation applications with which you can modify slide elements? 1. the option enables you to modify a slide element in most presentation applications.
Answers: 3
image
Computers and Technology, 23.06.2019 01:50, jumoke26
Create a class named majors that includes an enumeration for the six majors offered by a college as follows: acc, chem, cis, eng, his, phys. display the enumeration values for the user, then prompt the user to enter a major. display the college division in which the major falls. acc and cis are in the business division, chem and phys are in the science division, and eng and his are in the humanities division. save the file as majors. java.
Answers: 2
image
Computers and Technology, 23.06.2019 14:30, carter1809
Choose the answers that best complete each sentence. on average, are more expensive than other kinds of postsecondary schools. the cost of room and board includes. to save money, some students attend auniversity in their home state.
Answers: 2
Do you know the correct answer?
Main Window with 6 buttons (Show, Add, Remove, Pause, ChangeDirection, Exit) and a checkbox group (B...

Questions in other subjects:

Konu
Mathematics, 23.02.2022 04:30