In Basic Stage, you are required to do the following:- Load File: Read the words in the given file to WordList. You may assume to words infile is already in ascending order- Process User Input: First 10 matches suggestions will be shown in the Text Area. Match heremeans the word in list is starting with the word that user inputted. Thesuggestions will changed according to the word that user input (character bycharacter).- Status: A status in the GUI shows whether user’s input is found or not, besides italso show the number of steps in recent search and accumulated steps sincethe program starts. Besides, it will show whether the search reached the endof the word list, for example:Exception Handling Basic detection of correctness of input, such as argument check and fileformat checking Random words Able to load the file with words which are not in ascending order. Youneed to make sure that the Linked List is sorted. The more effective wayused in creating the sorted Linked List, the higher marks you can get in thispart Search History You may assume that user will only type in characters and backspace only.So that you can improve the search speed by- continue to search from last position (not from the head) - store search data in each search and load previous data whenbackspace is pressed (Hint: Use Stack to store)
添加回答
举报
0/150
提交
取消