Posts by Lucas Silva • 33 points
4 posts
-
0
votes1
answer52
viewsQ: Adapt txt file reader
I was using a manual method to grab a txt file, where the user typed the file name and extension and pressed the button, now that replace by a code that opens a search box to choose the file on the…
-
0
votes1
answer659
viewsQ: Apply data from a txt to Arraylist
I need tips on how to create (where to start, what functions to use, etc). A generic project that receives a file .txt, read the data and store the words in a ArrayList<>. I’ve already created…
-
0
votes2
answers492
viewsQ: String counter in Arraylist
I need the program to return the amount of times each String repeated itself within the ArrayList, but I could not think of a way in which my counter is reused for each item, because as it shows…
-
1
votes4
answers482
viewsQ: Comparing Strings using Arraylist
I need that in the repetition it identifies the same strings, I know that I need to use the . equals(), however, is giving error, as if the variable x is checking more value that exist in Arraylist,…