Advertisement
akosiraff

JFileChooserTextFile JAVA

Nov 18th, 2013
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.69 KB | None | 0 0
  1.  
  2. Download: http://solutionzip.com/downloads/jfilechoosertextfile-java/
  3. ADVANCED JAVA PROGRAMMING
  4. PROJECT 9
  5. FILES, STREAMS, AND OBJECT SERIALIZATION
  6. CHAPTER 17
  7. 1) Use the Java IDE to create a Java project that allows the user to open a text file (similar to the
  8. one created in #1 above) and displays the contents. The program can be either a console
  9. application or GUI application. The program should display the JFileChooser to allow the
  10. user to supply the name and path for the text file. Below is a sample run of a similar
  11. program:
  12. Enter the name to be opened –
  13. — The contents of the file —
  14. George Washington
  15. John Adams
  16. Thomas Jefferson
  17. James Madison
  18. James Monroe
  19. John Quincy Adams
  20. Andrew Jackson
  21. Martin Van Buren
  22. William Henry Harrison
  23. John Tyler
  24. — Done —
  25. Edit and debug your program until it works correctly.
  26. Once completed.
  27. • Take a screenshot of the application running. Use ALT-PRTSCREEN to take a
  28. screenshot of the window and not your whole screen. It is too hard to read if you take
  29. a screenshot of your whole desktop and I will grade as if the item was not included
  30. (see rubrics in Syllabus).
  31. • Take a screenshot of the file you opened… the screenshot should be of some
  32. windowed application that opens a text file (Word, OpenOffice, etc.) and shows
  33. the data contained within the file.
  34. • In any project that contains multiple windows or error messages that you are to
  35. program, please include screenshots of those as well.
  36. • Add these screenshot(s) to a Word (or OpenOffice) document.
  37. • After the screenshot for the appropriate exercise, include the code you wrote to
  38. accomplish the project.
  39.  
  40. Download: http://solutionzip.com/downloads/jfilechoosertextfile-java/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement