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

[macosx] TextArea has wrong initial size

    Details

    • Subcomponent:
    • Resolved In Build:
      b61
    • CPU:
      x86
    • OS:
      os_x

      Backports

        Description

        Small testcase attached. in which we call Frame.pack() twice and get different frame size. This happens because our LWTextAreaPeer.getPreferredSize() method checks scrollbars height and width when they are invisible.

          Issue Links

            Activity

            Show
            serb Sergey Bylokhov added a comment - Fixed: http://hg.openjdk.java.net/jdk8/awt/jdk/rev/39227bb92978
            Hide
            hgupdate HG Updates added a comment -
            URL: http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/39227bb92978
            User: lana
            Date: 2012-10-12 18:08:25 +0000
            Show
            hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/39227bb92978 User: lana Date: 2012-10-12 18:08:25 +0000

              People

              • Assignee:
                serb Sergey Bylokhov
                Reporter:
                serb Sergey Bylokhov
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: