jdk/src/java.desktop/share/classes/javax/swing/JInternalFrame.java
changeset 27273 f263d0b5c64a
parent 25859 3317bb8137f4
child 28231 b608ffcaed74
equal deleted inserted replaced
27272:cffe6690ee9d 27273:f263d0b5c64a
  1139     }
  1139     }
  1140 
  1140 
  1141     /**
  1141     /**
  1142      * Sets an image to be displayed in the titlebar of this internal frame (usually
  1142      * Sets an image to be displayed in the titlebar of this internal frame (usually
  1143      * in the top-left corner).
  1143      * in the top-left corner).
       
  1144      * Some look and feels might not support displaying an icon in the titlebar.
       
  1145      *
  1144      * This image is not the <code>desktopIcon</code> object, which
  1146      * This image is not the <code>desktopIcon</code> object, which
  1145      * is the image displayed in the <code>JDesktop</code> when
  1147      * is the image displayed in the <code>JDesktop</code> when
  1146      * this internal frame is iconified.
  1148      * this internal frame is iconified.
  1147      *
  1149      *
  1148      * Passing <code>null</code> to this function is valid,
  1150      * Passing <code>null</code> to this function is valid,
  1149      * but the look and feel
  1151      * but the look and feel can choose the appropriate behavior
  1150      * can choose the
  1152      * for that situation, such as displaying no icon
  1151      * appropriate behavior for that situation, such as displaying no icon
       
  1152      * or a default icon for the look and feel.
  1153      * or a default icon for the look and feel.
  1153      *
  1154      *
  1154      * @param icon the <code>Icon</code> to display in the title bar
  1155      * @param icon the <code>Icon</code> to display in the title bar
  1155      * @see #getFrameIcon
  1156      * @see #getFrameIcon
  1156      * @beaninfo
  1157      * @beaninfo