< prev index next >

src/java.desktop/share/classes/javax/swing/event/TreeExpansionEvent.java

Print this page

        

*** 41,51 **** * Serialized objects of this class will not be compatible with * future Swing releases. The current serialization support is * appropriate for short term storage or RMI between applications running * the same version of Swing. As of 1.4, support for long term storage * of all JavaBeans&trade; ! * has been added to the <code>java.beans</code> package. * Please see {@link java.beans.XMLEncoder}. * * @author Scott Violet */ @SuppressWarnings("serial") // Same-version serialization only --- 41,51 ---- * Serialized objects of this class will not be compatible with * future Swing releases. The current serialization support is * appropriate for short term storage or RMI between applications running * the same version of Swing. As of 1.4, support for long term storage * of all JavaBeans&trade; ! * has been added to the {@code java.beans} package. * Please see {@link java.beans.XMLEncoder}. * * @author Scott Violet */ @SuppressWarnings("serial") // Same-version serialization only
*** 58,68 **** /** * Constructs a TreeExpansionEvent object. * * @param source the Object that originated the event ! * (typically <code>this</code>) * @param path a TreePath object identifying the newly expanded * node */ public TreeExpansionEvent(Object source, TreePath path) { super(source); --- 58,68 ---- /** * Constructs a TreeExpansionEvent object. * * @param source the Object that originated the event ! * (typically {@code this}) * @param path a TreePath object identifying the newly expanded * node */ public TreeExpansionEvent(Object source, TreePath path) { super(source);
< prev index next >