src/share/classes/java/awt/Window.java

Print this page
rev 10048 : 8044740: Convert all JDK versions used in @since tag to 1.n[.n] in jdk repo
Reviewed-by:

*** 141,151 **** * @author Sami Shaio * @author Arthur van Hoff * @see WindowEvent * @see #addWindowListener * @see java.awt.BorderLayout ! * @since JDK1.0 */ public class Window extends Container implements Accessible { /** * Enumeration of available <i>window types</i>. --- 141,151 ---- * @author Sami Shaio * @author Arthur van Hoff * @see WindowEvent * @see #addWindowListener * @see java.awt.BorderLayout ! * @since 1.0 */ public class Window extends Container implements Accessible { /** * Enumeration of available <i>window types</i>.
*** 751,761 **** * native screen resource. * This method is called internally by the toolkit and should * not be called directly by programs. * @see Component#isDisplayable * @see Container#removeNotify ! * @since JDK1.0 */ public void addNotify() { synchronized (getTreeLock()) { Container parent = this.parent; if (parent != null && parent.getPeer() == null) { --- 751,761 ---- * native screen resource. * This method is called internally by the toolkit and should * not be called directly by programs. * @see Component#isDisplayable * @see Container#removeNotify ! * @since 1.0 */ public void addNotify() { synchronized (getTreeLock()) { Container parent = this.parent; if (parent != null && parent.getPeer() == null) {
*** 1403,1413 **** * with this window, if the locale has been set. * If no locale has been set, then the default locale * is returned. * @return the locale that is set for this window. * @see java.util.Locale ! * @since JDK1.1 */ public Locale getLocale() { if (this.locale == null) { return Locale.getDefault(); } --- 1403,1413 ---- * with this window, if the locale has been set. * If no locale has been set, then the default locale * is returned. * @return the locale that is set for this window. * @see java.util.Locale ! * @since 1.1 */ public Locale getLocale() { if (this.locale == null) { return Locale.getDefault(); }
*** 1439,1449 **** * by the {@code Cursor} class. If this parameter is null * then the cursor for this window will be set to the type * Cursor.DEFAULT_CURSOR. * @see Component#getCursor * @see Cursor ! * @since JDK1.1 */ public void setCursor(Cursor cursor) { if (cursor == null) { cursor = Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR); } --- 1439,1449 ---- * by the {@code Cursor} class. If this parameter is null * then the cursor for this window will be set to the type * Cursor.DEFAULT_CURSOR. * @see Component#getCursor * @see Cursor ! * @since 1.1 */ public void setCursor(Cursor cursor) { if (cursor == null) { cursor = Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR); }