File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes random display of data ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "random display of data ?" Watch "random display of data ?" New topic

random display of data ?

Mahesh Bhatt
Ranch Hand

Joined: Sep 15, 2004
Posts: 88
Hi All,

I am developing a small application and am struck at a problem, I have a vector that has some questions as Strings, I generate an array of random numbers and display the items in the question vector as per the random array.Now I have two or more vectors with questions and i have the same array of random numbers, how do I dispaly equal number of questions from these vectors.


Impossible is I M Possible
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
Is it as simple as this?

A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
I agree. Here's the link:
subject: random display of data ?
It's not a secret anymore!