< prev index next >

src/java.desktop/share/classes/java/awt/Component.java

Print this page

        

@@ -4314,13 +4314,16 @@
          * Whether or not the drawing buffer has been recently restored from
          * a lost state.
          */
         protected boolean validatedContents; // = false
         /**
-         * Size of the back buffers
+         * Width of the back buffers
          */
         protected int width;
+        /**
+         * Height of the back buffers
+         */
         protected int height;
 
         /**
          * Insets for the hosting Component.  The size of the back buffer
          * is constrained by these.

@@ -6011,10 +6014,11 @@
      *
      * <pre>MouseListener[] mls = (MouseListener[])(c.getListeners(MouseListener.class));</pre>
      *
      * If no such listeners exist, this method returns an empty array.
      *
+     * @param <T> the type of the listeners
      * @param listenerType the type of listeners requested; this parameter
      *          should specify an interface that descends from
      *          <code>java.util.EventListener</code>
      * @return an array of all objects registered as
      *          <code><em>Foo</em>Listener</code>s on this component,
< prev index next >