Question: I need help with the following question asap Design a simple GUI that has a text box, a button for Merge Sort, and a Reset

I need help with the following question asap

Design a simple GUI that has a text box, a button for "Merge Sort", and a "Reset" button.

When the program starts, it fills the text box with 10 random integer numbers.

When "Merge Sort" button is clicked, the program mergesorts the 10 numbers from smallest to largest. Is does so by displaying a message box which shows the process in step by step. That is, first split, second split, ...., first merge, second merge etc (refer to Slide 13 of Ch 23 PPT). The user can close the message box and return to the main screen.

When the "Reset" button is clicked, 10 new random numbers are generated.

Take screenshots for two examples. Submit them with your Java code.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!