Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8261795

"JFrame.setSize" changed after upgrade to JDK 8u261

    XMLWordPrintable

    Details

    • Subcomponent:
    • Introduced In Build:
      b01
    • Introduced In Version:
    • OS:
      windows

      Description

      FULL PRODUCT VERSION :
      JDK 8u261 b12

      ADDITIONAL OS VERSION INFORMATION :
      MS Windows 10 OS

      A DESCRIPTION OF THE PROBLEM :
      The user's application sets a window size by the method "javax.swing.JFrame.setSize(Dimension)", but starting from JDK 8u261 this method breaks the layout of the UI components in the window of the user's application. The issue is demonstrated on the attached screenshot "Screenshot.jpg".

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1. Compile and run the attached test case "PMJframe.java".

        Attachments

          Activity

            People

            Assignee:
            alitvinov Anton Litvinov
            Reporter:
            shadowbug Shadow Bug
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: