From 1ea63ef8be1cc54dd0de9d82c684713a1dcf1e06 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Fri, 23 Sep 2005 21:31:04 +0000 Subject: Imported Classpath 0.18. * sources.am, Makefile.in: Updated. * Makefile.am (nat_source_files): Removed natProxy.cc. * java/lang/reflect/natProxy.cc: Removed. * gnu/classpath/jdwp/VMFrame.java, gnu/classpath/jdwp/VMIdManager.java, gnu/classpath/jdwp/VMVirtualMachine.java, java/lang/reflect/VMProxy.java: New files. 2005-09-23 Thomas Fitzsimmons * scripts/makemake.tcl (verbose): Add gnu/java/awt/peer/qt to BC list. 2005-09-23 Thomas Fitzsimmons * gnu/java/net/DefaultContentHandlerFactory.java (getContent): Remove ClasspathToolkit references. 2005-09-23 Thomas Fitzsimmons * gnu/awt/xlib/XCanvasPeer.java: Add new peer methods. * gnu/awt/xlib/XFramePeer.java: Likewise. * gnu/awt/xlib/XGraphicsConfiguration.java: Likewise. 2005-09-23 Thomas Fitzsimmons * Makefile.am (libgcjawt_la_SOURCES): Remove jawt.c. Add classpath/native/jawt/jawt.c. * Makefile.in: Regenerate. * jawt.c: Remove file. * include/Makefile.am (tool_include__HEADERS): Remove jawt.h and jawt_md.h. Add ../classpath/include/jawt.h and ../classpath/include/jawt_md.h. * include/Makefile.in: Regenerate. * include/jawt.h: Regenerate. * include/jawt_md.h: Regenerate. From-SVN: r104586 --- libjava/classpath/javax/swing/SwingUtilities.java | 31 +++++++++++++---------- 1 file changed, 17 insertions(+), 14 deletions(-) (limited to 'libjava/classpath/javax/swing/SwingUtilities.java') diff --git a/libjava/classpath/javax/swing/SwingUtilities.java b/libjava/classpath/javax/swing/SwingUtilities.java index 69b6345..ee5fa74 100644 --- a/libjava/classpath/javax/swing/SwingUtilities.java +++ b/libjava/classpath/javax/swing/SwingUtilities.java @@ -63,7 +63,7 @@ import javax.swing.plaf.ActionMapUIResource; import javax.swing.plaf.InputMapUIResource; /** - * This class contains a number of static utility functions which are + * A number of static utility functions which are * useful when drawing swing components, dispatching events, or calculating * regions which need painting. * @@ -449,7 +449,7 @@ public class SwingUtilities * @return A component containing (x,y), or * null * - * @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 true 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) { -- cgit v1.1