src/share/classes/javax/swing/JApplet.java

Print this page

        

*** 38,48 **** * the JFC/Swing component architecture. * You can find task-oriented documentation about using <code>JApplet</code> * in <em>The Java Tutorial</em>, * in the section * <a ! href="http://java.sun.com/docs/books/tutorial/uiswing/components/applet.html">How to Make Applets</a>. * <p> * The <code>JApplet</code> class is slightly incompatible with * <code>java.applet.Applet</code>. <code>JApplet</code> contains a * <code>JRootPane</code> as its only child. The <code>contentPane</code> * should be the parent of any children of the <code>JApplet</code>. --- 38,48 ---- * the JFC/Swing component architecture. * You can find task-oriented documentation about using <code>JApplet</code> * in <em>The Java Tutorial</em>, * in the section * <a ! href="http://docs.oracle.com/javase/tutorial/uiswing/components/applet.html">How to Make Applets</a>. * <p> * The <code>JApplet</code> class is slightly incompatible with * <code>java.applet.Applet</code>. <code>JApplet</code> contains a * <code>JRootPane</code> as its only child. The <code>contentPane</code> * should be the parent of any children of the <code>JApplet</code>.
*** 181,191 **** * Note: When used with {@code JApplet}, {@code TransferHandler} only * provides data import capability, as the data export related methods * are currently typed to {@code JComponent}. * <p> * Please see ! * <a href="http://java.sun.com/docs/books/tutorial/uiswing/misc/dnd.html"> * How to Use Drag and Drop and Data Transfer</a>, a section in * <em>The Java Tutorial</em>, for more information. * * @param newHandler the new {@code TransferHandler} * --- 181,191 ---- * Note: When used with {@code JApplet}, {@code TransferHandler} only * provides data import capability, as the data export related methods * are currently typed to {@code JComponent}. * <p> * Please see ! * <a href="http://docs.oracle.com/javase/tutorial/uiswing/dnd/index.html"> * How to Use Drag and Drop and Data Transfer</a>, a section in * <em>The Java Tutorial</em>, for more information. * * @param newHandler the new {@code TransferHandler} *