diff --git a/extras/src/main/java/edu/umd/cs/piccolox/nodes/P3DRect.java b/extras/src/main/java/edu/umd/cs/piccolox/nodes/P3DRect.java index 6e9daa0..e60ba9e 100644 --- a/extras/src/main/java/edu/umd/cs/piccolox/nodes/P3DRect.java +++ b/extras/src/main/java/edu/umd/cs/piccolox/nodes/P3DRect.java @@ -208,7 +208,7 @@ } /** - * @Deprecated since it has been moved to P3DRectExample. + * @deprecated since it has been moved to P3DRectExample. * * @param args Command line arguments */ diff --git a/extras/src/main/java/edu/umd/cs/piccolox/pswing/PSwing.java b/extras/src/main/java/edu/umd/cs/piccolox/pswing/PSwing.java index 32d66bd..05c135d 100644 --- a/extras/src/main/java/edu/umd/cs/piccolox/pswing/PSwing.java +++ b/extras/src/main/java/edu/umd/cs/piccolox/pswing/PSwing.java @@ -312,7 +312,7 @@ } /** - * @deprecated by {@link PSwing(JComponent)} + * @deprecated by {@link #PSwing(JComponent)} * * @param swingCanvas canvas on which the PSwing node will be embedded * @param component not used @@ -403,7 +403,7 @@ /** * Return the greek threshold in scale. When the scale will be below this * threshold the Swing component is rendered as 'greek' instead of painting - * the Swing component. Defaults to {@link DEFAULT_GREEK_THRESHOLD}. + * the Swing component. Defaults to {@link #DEFAULT_GREEK_THRESHOLD}. * * @see PSwing#paintGreek(PPaintContext) * @return the current greek threshold in scale @@ -579,7 +579,16 @@ } } - /** {@inheritDoc} */ + /** + * Read this node and all of its descendants in from the given input stream. + * + * @param in the stream to read from + * + * @throws IOException when an error occurs speaking to underlying + * ObjectOutputStream + * @throws ClassNotFoundException when a class is deserialized that no + * longer exists. This can happen if it's renamed or deleted. + */ private void readObject(final ObjectInputStream in) throws IOException, ClassNotFoundException { in.defaultReadObject(); init(component);