猿问

大家好我想問有關java program 問題?只想大家一步一步地教我,可以嗎>?

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 in

file is already in ascending order

- Process User Input: First 10 matches suggestions will be shown in the Text Area. Match here

means the word in list is starting with the word that user inputted. The

suggestions will changed according to the word that user input (character by

character).

- Status: A status in the GUI shows whether user’s input is found or not, besides it

also show the number of steps in recent search and accumulated steps since

the program starts. Besides, it will show whether the search reached the end

of the word list, for example:

Exception Handling Basic detection of correctness of input, such as argument check and file

format checking 

Random words Able to load the file with words which are not in ascending order. You

need to make sure that the Linked List is sorted. The more effective way

used in creating the sorted Linked List, the higher marks you can get in this

part 

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 when

backspace is pressed (Hint: Use Stack to store) 


MonstaXSw
浏览 1445回答 1
1回答

MonstaXSw

????/
随时随地看视频慕课网APP

相关分类

Java
我要回答