Click here to Skip to main content
15,867,834 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I want generate 4 random name, type are Strings and put this random Strings without repeating to 4 Text Field in Java ?

can you help me ? thank you ..
Posted
Updated 15-Feb-15 8:54am
v2

1 solution

Random strings of what; letters, numbers, pictures, types of cheese? Please edit your question and explain exactly what problem you are trying to solve. You could also study the Java API at http://docs.oracle.com/javase/7/docs/api/java/util/Random.html[^].
 
Share this answer
 
Comments
Maciej Los 15-Feb-15 5:50am    
+5
Richard MacCutchan 15-Feb-15 7:09am    
:thumbsup:
We need a proper "thank you" emoticon.
Maciej Los 15-Feb-15 7:22am    
Good idea ;)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900