Hi i m new in java..
i have to solve this..
write a programme to display random choice from a set of six choices,scrambled, eggs, waffles etc.....
kindly help me....i m having huge problem...
Call the random number generater until you get six unique numbers.
Use an array of booleans the size of the total number of different items to chose from.
When the next random number is generated, test if it was chosen before by looking at the boolean array[index] value, if not set, set it and use that number.
If the set, reject that number because it was already used and get another random number and test that one as above
For Each ctrl As Control In Me.Controls("pnlMainPanel").Controls
If ctrl.GetType Is GetType(System.Windows.Forms.Panel) Then
For Each subCtrl As Control In ctrl.Controls
If subCtrl.GetType Is GetType(System.Windows.Forms.TextBox) Then
If subCtrl.GetType Is ...