< prev index next >

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

Print this page

        

*** 4314,4326 **** * Whether or not the drawing buffer has been recently restored from * a lost state. */ protected boolean validatedContents; // = false /** ! * Size of the back buffers */ protected int width; protected int height; /** * Insets for the hosting Component. The size of the back buffer * is constrained by these. --- 4314,4329 ---- * Whether or not the drawing buffer has been recently restored from * a lost state. */ protected boolean validatedContents; // = false /** ! * 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,6020 **** --- 6014,6024 ---- * * <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 >