--- old/src/java.desktop/share/classes/javax/swing/plaf/TabbedPaneUI.java 2015-04-07 15:49:53.682546063 -0700 +++ new/src/java.desktop/share/classes/javax/swing/plaf/TabbedPaneUI.java 2015-04-07 15:49:53.514546059 -0700 @@ -35,7 +35,25 @@ * @author Amy Fowler */ public abstract class TabbedPaneUI extends ComponentUI { + /** + * Returns the tab for the coordinate. + * @param pane the pane + * @param x the x coordinate + * @param y the y coordinate + * @return the tab for the coordinate + */ public abstract int tabForCoordinate(JTabbedPane pane, int x, int y); + /** + * Returns the rectangle for the tab bounds. + * @param pane the pane + * @param index the index + * @return the rectangle for the tab bounds + */ public abstract Rectangle getTabBounds(JTabbedPane pane, int index); + /** + * Returns the tab run count. + * @param pane the pane + * @return the tab run count + */ public abstract int getTabRunCount(JTabbedPane pane); }