summaryrefslogtreecommitdiff
path: root/javax/swing/SwingUtilities.java
diff options
context:
space:
mode:
authorAndrew John Hughes <gnu_andrew@member.fsf.org>2005-09-10 15:31:29 +0000
committerAndrew John Hughes <gnu_andrew@member.fsf.org>2005-09-10 15:31:29 +0000
commitd5a985a529854e100f7c37d30c35a12916b97717 (patch)
tree41e28377abd8d12d36dc11e4592fdb25ce8506f7 /javax/swing/SwingUtilities.java
parent988ea14cc6a504c6d5c7b9bfcbc01ca2b0a4e432 (diff)
downloadclasspath-d5a985a529854e100f7c37d30c35a12916b97717.tar.gz
2005-09-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
Merge of generics-branch for 2005/08/14 - 2005/09/07.
Diffstat (limited to 'javax/swing/SwingUtilities.java')
-rw-r--r--javax/swing/SwingUtilities.java29
1 files changed, 16 insertions, 13 deletions
diff --git a/javax/swing/SwingUtilities.java b/javax/swing/SwingUtilities.java
index 3425fc97d..ee5fa74d4 100644
--- a/javax/swing/SwingUtilities.java
+++ b/javax/swing/SwingUtilities.java
@@ -449,7 +449,7 @@ public class SwingUtilities
* @return A component containing <code>(x,y)</code>, or
* <code>null</code>
*
- * @see java.awt.Container#findComponentAt
+ * @see java.awt.Container#findComponentAt(int, int)
*/
public static Component getDeepestComponentAt(Component parent, int x, int y)
{
@@ -473,7 +473,7 @@ public class SwingUtilities
* @param p The point to convert
* @param c The component which the point is expressed in terms of
*
- * @see convertPointFromScreen
+ * @see #convertPointFromScreen
*/
public static void convertPointToScreen(Point p, Component c)
{
@@ -568,7 +568,7 @@ public class SwingUtilities
*
* @see #convertPointToScreen
* @see #convertPointFromScreen
- * @see #convertPoint
+ * @see #convertPoint(Component, int, int, Component)
* @see #getRoot
*/
public static Rectangle convertRectangle(Component source,
@@ -596,7 +596,7 @@ public class SwingUtilities
* component's coordinate space, and with the destination component as
* its source
*
- * @see #convertPoint
+ * @see #convertPoint(Component, int, int, Component)
*/
public static MouseEvent convertMouseEvent(Component source,
MouseEvent sourceEvent,
@@ -938,7 +938,7 @@ public class SwingUtilities
}
/**
- * Calls {@link java.awt.EventQueue.invokeLater} with the
+ * Calls {@link java.awt.EventQueue#invokeLater} with the
* specified {@link Runnable}.
*/
public static void invokeLater(Runnable doRun)
@@ -947,7 +947,7 @@ public class SwingUtilities
}
/**
- * Calls {@link java.awt.EventQueue.invokeAndWait} with the
+ * Calls {@link java.awt.EventQueue#invokeAndWait} with the
* specified {@link Runnable}.
*/
public static void invokeAndWait(Runnable doRun)
@@ -958,7 +958,10 @@ public class SwingUtilities
}
/**
- * Calls {@link java.awt.EventQueue.isEventDispatchThread}.
+ * Calls {@link java.awt.EventQueue#isDispatchThread()}.
+ *
+ * @return <code>true</code> if the current thread is the current AWT event
+ * dispatch thread.
*/
public static boolean isEventDispatchThread()
{
@@ -1262,11 +1265,11 @@ public class SwingUtilities
* Calculates the intersection of two rectangles.
*
* @param x upper-left x coodinate of first rectangle
- * @param x upper-left y coodinate of first rectangle
+ * @param y upper-left y coodinate of first rectangle
* @param w width of first rectangle
* @param h height of first rectangle
* @param rect a Rectangle object of the second rectangle
- * @throws a NullPointerException if rect is null.
+ * @throws NullPointerException if rect is null.
*
* @return a rectangle corresponding to the intersection of the
* two rectangles. A zero rectangle is returned if the rectangles
@@ -1308,11 +1311,11 @@ public class SwingUtilities
* Calculates the union of two rectangles.
*
* @param x upper-left x coodinate of first rectangle
- * @param x upper-left y coodinate of first rectangle
+ * @param y upper-left y coodinate of first rectangle
* @param w width of first rectangle
* @param h height of first rectangle
* @param rect a Rectangle object of the second rectangle
- * @throws a NullPointerException if rect is null.
+ * @throws NullPointerException if rect is null.
*
* @return a rectangle corresponding to the union of the
* two rectangles. A rectangle encompassing both is returned if the
@@ -1361,9 +1364,9 @@ public class SwingUtilities
* maps should be returned, may be
* {@link JComponent#WHEN_IN_FOCUSED_WINDOW},
* {@link JComponent#WHEN_FOCUSED} or
- * {@link JComponent#WHEN_ANCESTOR_OF_FOCUSED_COMPONENT
+ * {@link JComponent#WHEN_ANCESTOR_OF_FOCUSED_COMPONENT}
*
- * @return
+ * @return The input map.
*/
public static InputMap getUIInputMap(JComponent component, int cond)
{