(Store numbers in a linked list) Write a program that lets the user enter numbers from a graphical user interface and displays them in a text area, as shown in Figure 20.17a. Use a linked list to store the numbers. Do not store duplicate numbers. Add the buttons Sort, Shuffle, and Reverse to sort, shuffle, and reverse the list.FIGURE CANT COPY
Ficure 20.17 (a) The numbers are stored in a list and displayed in the text area. (b) The colliding balls are combined.