السلام عليكم
بالاختصار
الدكتور الله يسامحه طلب مننا نحل هذا
ونحنا عندنا امتحانات الجامعه النهائيه مو فاضيين
فمو قادره احله ماعندي وقت
المهم اللي يقدر يساعدني بحله له دعوة بظهر الغيب
بحيث يكون الحل بلغة الجافا باستخدام برناج النت بينز (NetBeans)
وياريت اذا احديعرف الحل يجيبه قبل تاريخ 8 يناير لان التسليم 9 يناير
وهذا هو السؤال
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.

