JFrame scaling in Java 9 : <p>Exactly the same code running under Java 9u4 on the left and 8u144 on the right on Windows 7.</p>

<p><a href="https://i.stack.imgur.com/ddwTE.png" rel="noreferrer"><img src="https://i.stack.imgur.com/ddwTE.png" alt="different window sizes"></a></p>

<p>Java 9 seems to making the window larger. What is causing this - JEP 263? How can I disable it?</p>

<pre><code>public class SimpleFrame {
    public static void main(String[] args) {
        JFrame frame = new JFrame();
        frame.getContentPane().add(new JLabel("Horse"));
        frame.setSize(new Dimension(200, 100));
        frame.setVisible(true);
    }
}
</code></pre>
