I posted it yesterday on
stackoverflow.com but did not receive a solution to the problem.
A problem regarding resizing this JFrame.
This is how it looks by default right after program starts:
When I try to resize it like shown on a picture and move a mouse pointer to the top of a screen (like on picture below) I see this:
When I release the mouse the frame is resized but unresponsive. And there is a black space on it. This is how it looks:
This happens on Windows 8.1 and
java 1.7.0_45 (it also happens on Windows 7).
The problem does not occur when using other ways of resizing a frame in Windows.
It only happens when "Show window contents while dragging" is active in system settings.
Why is it happening?
How can this be fixed?