Hello, Yes, this indeed is a regression in JDK 8. I’ve created an issue for you: https://bugs.openjdk.java.net/browse/JDK-8032595
Thank you for reporting this problem. With best regards. Petr. 21 янв. 2014 г., в 6:22 до полудня, niagarasoft20-macosxport...@yahoo.com написал(а): > import javax.swing.*; > import java.awt.*; > > public class JFramePositionTest { > > public static void main (String args[]){ > new JFramePositionTest(); > } > > public JFramePositionTest(){ > JFrame aFrame = new JFrame(); > aFrame.setSize(300,300); > aFrame.setResizable(false); > aFrame.setVisible(true); > //aFrame.setResizable(false); //COMMENT ABOVE setResizable(false) > method and CALL THE CODE HERE THEN THERE'S NO PROBLEM > aFrame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE); > > } > > }