Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #72.9K
2 Posted Topics
Re: variable???
Look at what happens to n through the code. n = 1, line 7 n = 2, line 15 At line 18 the program will show a dialog box if n = 1, do n = 1 at that particular point of the program?
In case someone wants to sort an objects ArrayList using a criteria. In my case, I had User objects, and would like to sort it by username. The getUsername() method returns the username's String. Where you want it to be sorted, supposing your ArrayList is named "users". [code=java] Collections.sort(users, new …
The End.
gregoryalussier