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

[macosx] TextArea has wrong initial size

    XMLWordPrintable

    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.

          Attachments

            Issue Links

              Activity

                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: