However, you must supply at least two different files/categories of things to guess other than words --- do this rather than having the program use words for guessing.
Your data files should be created initially in Eclipse as File,New,Other,Untitled text file (starting from the File menu). After you've entered a few lines of data, save the text file in your Hangman Eclipse Folder/Project with a name that indicates its type, e.g., musicians.txt, football.txt, and so on. At least one of your text files should allow the user to guess multiple-word clues, something like "Skyfall", "Goldfinger", "Casino Royale", "Diamonds are Forever" are examples of what might be stored in the lines of a file named bondmovies.txt.
What kind of game do you want to play? (1) Bond Movies (2) De Niro Movies (3) Hip Hop Songs (4) College Mascots Enter choice [1-4]
T _ _ _ _ _ _ _ _ _ _ _ t _ _ _ _ _ _