Resizing JFrame in Window 7 - Java
<p>I have question about resizing JFrame in windows 7 , </p>

<p>After i drag my frame to top of my window/monitor and release mouse button, 
sometimes frame stuck/freeze, sometimes don't.
So i need to drag frame to unstuck it</p>

<p>What is problem, how to fix it ?</p>

<p>black color is when frame is frozen</p>

<p><img src="http://i.stack.imgur.com/glx1u.png" alt="enter image description here"></p>

<pre><code>import javax.swing.JFrame;
import javax.swing.SwingUtilities;

public class JFrameTest extends JFrame
{
    public JFrameTest()
    {
        setTitle("Frame Example");
        setSize(300, 200);
        setDefaultCloseOperation(EXIT_ON_CLOSE);
        setLocationRelativeTo(null);
    }

    public static void main(String[] args)
    {
        SwingUtilities.invokeLater(new Runnable()
        {
            public void run()
            {
                new JFrameTest().setVisible(true);
            }
        });
    }
}
</code></pre>

<p>so i get this result after resize this program for ex...
<a href="http://img10.imageshack.us/img10/652/35945338.png" rel="nofollow">http://img10.imageshack.us/img10/652/35945338.png</a></p>
