diff -r 57e36ed1a9ab -r 507bcb03c954 jdk/src/java.desktop/share/classes/javax/swing/text/View.java
--- a/jdk/src/java.desktop/share/classes/javax/swing/text/View.java Tue Apr 14 14:47:12 2015 -0700
+++ b/jdk/src/java.desktop/share/classes/javax/swing/text/View.java Tue Apr 14 15:43:14 2015 -0700
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -381,6 +381,7 @@
/**
* Removes one of the children at the given position.
* This is a convenience call to replace
.
+ * @param i the position
* @since 1.3
*/
public void remove(int i) {
@@ -444,6 +445,7 @@
* position.
*
* @param pos the position >= 0
+ * @param b the bias
* @return index of the view representing the given position, or
* -1 if no view represents that position
* @since 1.3
@@ -480,6 +482,7 @@
* the {@code BadLocationException} will be thrown.
*
* @param pos the position to convert
+ * @param b the bias
* @param a the allocated region in which to render
* @param direction the direction from the current position that can
* be thought of as the arrow keys typically found on a keyboard.
@@ -490,6 +493,7 @@
*
biasReturn
* argument will be
@@ -864,6 +869,7 @@
* for the purpose of rendering or layout, and should always
* access them through the AttributeSet
returned
* by this method.
+ * @return the attributes to use when rendering
*/
public AttributeSet getAttributes() {
return elem.getAttributes();
@@ -1026,6 +1032,10 @@
* Returns the tooltip text at the specified location. The default
* implementation returns the value from the child View identified by
* the passed in location.
+ * @param x the x coordinate
+ * @param y the y coordinate
+ * @param allocation current allocation of the View.
+ * @return the tooltip text at the specified location
*
* @since 1.4
* @see JTextComponent#getToolTipText