public abstract int tabForCoordinate (JTabbedPane pane, int x, int y)

Returns the tab for the coordinate.

Parameters:
pane    the pane
x    the x coordinate
y    the y coordinate

Returns:  the tab for the coordinate