Page two of this article I found on JavaWorld is particularly interesting as well. It demonstrates why inner classes are useful for programming GUIs, using the simple example that multiple buttons probably have different functionality (for each button), so separating the logic using inner classes might be ideal. http://www.javaworld.com/javaworld/javaqa/2000-03/02-qa-innerclass.html?page=1
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 ...