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

[macosx] setText/pack, applied twice, stop resizing

XMLWordPrintable

    • x86
    • os_x

      Mac OS X 10.7.3 macmini4,1
      Run a regression test closed/java/awt/Frame/PackTwiceTest/PackTwiceTest.
      It doesn't set any sizes to a Frame and added there TextField but sets to the TextField first, a short text, then, a long one, calling pack() in between. Twice.
      As a result, on Apple JDK 6 the Frame is of the first text size; on 7u4 b14 it has minimal possible size (just enough to show system buttons).

            ant Anton Tarasov (Inactive)
            yan Yuri Nesterenko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: