Question: Devise a JavaFX GUI with an internal controller class to maintain an array of arbitrary size. Use a starting default of size 20 and
Devise a JavaFX GUI with an internal controller class to maintain an array of arbitrary size. Use a starting default of size 20 and populate it with random data (numbers) initialized into the array. The GUI should be such that users can select and perform the actions listed below. Write methods and select appropriate GUI mechanisms to do the following: Display the contents of the array Add a, or a group of numbers to the array at any position. . Delete a number from the array at any position. . Sort the array and display the original and sorted forms. Display the size of the array. Search for a number and its occurrences in the array and flag that number's position(s) by highlighting it in the display.
Step by Step Solution
There are 3 Steps involved in it
Creating a JavaFX GUI for managing an array with the mentioned functionalities involves several components including a graphical interface and a controller to handle the logic Below is a basic example ... View full answer
Get step-by-step solutions from verified subject matter experts
