/[classpath]/classpath/javax/swing/SwingUtilities.java
ViewVC logotype

Diff of /classpath/javax/swing/SwingUtilities.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.15.2.14 by gnu_andrew, Wed Nov 2 00:43:48 2005 UTC revision 1.15.2.15 by tromey, Sat Nov 26 05:29:42 2005 UTC
# Line 344  public class SwingUtilities Line 344  public class SwingUtilities
344     * @see #getAncestorOfClass     * @see #getAncestorOfClass
345     * @see #windowForComponent     * @see #windowForComponent
346     */     */
347    public static Container getAncestorOfClass(Class c, Component comp)    public static Container getAncestorOfClass(Class<?> c, Component comp)
348    {    {
349      while (comp != null && (! c.isInstance(comp)))      while (comp != null && (! c.isInstance(comp)))
350        comp = comp.getParent();        comp = comp.getParent();

Legend:
Removed from v.1.15.2.14  
changed lines
  Added in v.1.15.2.15

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26