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

Frames migrate across screen when internal layout changes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.1.5
    • 1.1.4
    • client-libs
    • None
    • 1.1.5
    • generic
    • generic
    • Not verified

        This bug was introduced in JDK 1.1.4. It was not present in 1.1.3.

        JavaTest 2.0 displays a frame containing a menu bar, and a panel with border
        layout. The center of the border panel is a panel with card layout.

        When new cards are added to the card layout, the entire window moves upwards.
        Frame and all. It moves about half an inch. It does not change size; it moves.

        I tried to see if the distance moved corresponded to anything like the
        height of the window decoration (not really) or the height of the menu bar
        (very close, but not exact.)

        Bottom line, the frame should not move on the screen because its internal components have changed.

        I ran the identical same classes with JDK 1.1.3, and they worked as expected.
        The frame did not move when new panels were added to the internal container.

              pyoung Paul Young (Inactive)
              jjg Jonathan Gibbons
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: