Hi there, I am trying to find an explanation for what the findWithinHorizon() does. I landed on this page http://docs.oracle.com/javase/7/docs/api/ and I know that the method is part of the java.util.Scanner class (isn't it?). How do I find it in the page above please?
thanks for your help, I have found it but I am not entirely sure the API is helping me, sorry perhaps I still need to get used to the API. I have found this reply = keyboard.findWithinHorizon(".",0).charAt(0); but I am not entirely sure I understand it. The methid takes 2 parameters (String pattern,int horizon) which in my case are "." and "0", but what do they do in my case? I mean how am I supposed to "read" this line reply = keyboard.findWithinHorizon(".",0).charAt(0);? The variable reply gets the input from the keyboard and we take what's in 0 position?
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 ...