diff --git a/extras/src/main/java/edu/umd/cs/piccolox/swing/PViewport.java b/extras/src/main/java/edu/umd/cs/piccolox/swing/PViewport.java index a510b4d..2a19ada 100644 --- a/extras/src/main/java/edu/umd/cs/piccolox/swing/PViewport.java +++ b/extras/src/main/java/edu/umd/cs/piccolox/swing/PViewport.java @@ -125,6 +125,16 @@ } /** + * Notifies all ChangeListeners when the views size, position, + * or the viewports extent size has changed. + * + * PDefaultScrollDirector calls this so it needs to be public. + */ + public void fireStateChanged() { + super.fireStateChanged(); + } + + /** * Sets the view coordinates that appear in the upper left hand corner of * the viewport, does nothing if there's no view. *