Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

pls some help for coding Develop a GUI (using javafx or javax) with the following interactions: Good luck to You engetahuan 2 3. Play Label

image text in transcribedpls some help for coding

Develop a GUI (using javafx or javax) with the following interactions: Good luck to You engetahuan 2 3. Play Label 2 Play Label 3 1 You can see that a frame has three image labels and 4 buttons. Of course, the number of labels are not limited to 3 (must be at least 3, you can work on an array of labels); the number of buttons must be the number of labels plus 1. In the above GUI, if user presses the "Play all" button, all label images will change, randomly, to some other images (note that images can be the same): Good Luck To Yew M Play Label 2 Play Label 3. 2 4 . 4 If user presses the "Play Label 1" button, ONLY the 1st label will change to a different image: un Play Label 1 Play Label Play Label 4 24 Now, we have two same images. You can continue to press the "Play Label 2" button until all the images are the same: Good Luck to You Play all Play Label 1 Play Label 2 Play Label 4 4 4 . You should respect the following specifications in your design: (a) An array of images used in the design must name as 1.jpg, 2.jpg etc (I have 10 of them in my testing base ). (b) A label array must be at least 3. Note that the number of labels and the number of images may not be the same; i.e., each label can store a random image during the runtime. Some lambda expressions to implement events or actions to all buttons. To simplify your coding, you can assume that the 1st button is an individual button; the other buttons is an array of buttons. The name of the program must be YourName_Supp_3.java and upload this Java file. Note that you don't have to upload the image files

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

SQL Instant Reference

Authors: Gruber, Martin Gruber

2nd Edition

0782125395, 9780782125399

More Books

Students also viewed these Databases questions

Question

4. What action should Cherita Howard take and why?

Answered: 1 week ago