Retrieves the control that follows or precedes the specified control in the tab order.
public final Control getNextControl( Control ctl, boolean forward )
ctl
A Control object that represents the control to start the search from.
forward
Set to true to search forward through the tab order from the specified control; set to false to search backward through the tab order.
Returns a Control object that represents control immediately before or after the specified control in the tab order.