Details
-
Type:
Bug
-
Status: Resolved
-
Priority:
P4
-
Resolution: Not an Issue
-
Affects Version/s: 7u6
-
Fix Version/s: None
-
Component/s: javafx
-
Labels:
-
Environment:
Windows 7, JDK 7, JavaFX 2.2 b11
-
Subcomponent:
Description
When the window of the attached prrogrom is resized the graphics is adjusted
to always fill the whole drawing area. This is triggered
by a change listener on the graphicsPane. This seems to
work nicely when I adjust the window size manually with the
mouse. But if I hit the maximize button in the upper right
corner of the window this does not seem to trigger the
change listener, which I do not understand. (This works
if I attach the listener to the drawingPane instead.)
Even worse, when I hit the button again to go back to
the original size, the application dies with a StackOverflowError.
See attached file 'rsize_exception.txt'.
to always fill the whole drawing area. This is triggered
by a change listener on the graphicsPane. This seems to
work nicely when I adjust the window size manually with the
mouse. But if I hit the maximize button in the upper right
corner of the window this does not seem to trigger the
change listener, which I do not understand. (This works
if I attach the listener to the drawingPane instead.)
Even worse, when I hit the button again to go back to
the original size, the application dies with a StackOverflowError.
See attached file 'rsize_exception.txt'.