Advertisement
Guest User

Untitled

a guest
Nov 15th, 2019
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. 2 Make sure you can locate your file
  2.  
  3. Edit the setup/draw tab for this section.
  4. 1. Add an import statement at the top of the tab. You will be importing
  5. java.util.Scanner
  6. 2. Declare a variable called in of type Scanner
  7. 1
  8. Java Programming Foundations, Lab 6
  9. 3. Write a setup function and in it add this line of code:
  10. 1 in = InputReader . getScanner ("h :\\ path \\ to \\ DailyMix . csv ");
  11. ensuring that you change the path to locate your copy of the file.
  12. 4. Run the program and check that you got the path right. If you see an error in the
  13. console panel when you run the program, you got something wrong. Retrace your
  14. steps to ensure everything is correct. When there is no message in your console
  15. when running the program, everything is working.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement