Create a GUI application that allows a user to select a text file (using the JFileChooser). The program will then allow the user to do the following operations (selection of these operations must be made by clicking appropriate buttons or selecting from menu):
1) display the contents of the file 2) count and display the number of words in the file (Hint: You can use the StringTokenizer class or the String split() method to count the number of words which are separated by whitespace characters such space and tab)
3) display the total number of alphabetic characters, digits and upper case characters in the file. (Hint: you can use the static methods of Character class ΓΆβ?¬β?? isDigit(), isLetter() and isUpperCase() to test every character in a line whether it is a digit, alphabetic characters or upper case characters respectively) 4) search a word in the file. In this case, the user must input the word to be searched. Your program should list all the line number where the word is found. To do this, if the word is found, add the line number in an ArrayList. When all the lines in the file have been read, display the content of the ArrayList.