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

[macosx] TextArea has wrong initial size

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 8
    • Fix Version/s: 8
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • CPU:
      x86
    • OS:
      os_x

      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:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: